|
TROIKA.ASP - the MVC framework | |||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||
Contains ServerAdapter class.
This is part of Troika.ASP Framework - web development MVC framework for ASP 3.0. Please visit www.troika-asp.com for more details.
| Class Summary | |
| ServerAdapter | This class adapts the native ASP Server object to Troika.ASP Server object. |
/** * @fileoverview Contains <tt>ServerAdapter</tt> class. * * <p> * This is part of Troika.ASP Framework - web development MVC framework for ASP 3.0. * Please visit {@link http://www.troika-asp.com www.troika-asp.com} for more details. * </p> * * @author Pavel Chuchev pav@troika-asp.com * @version $Revision: 1.3 $ */ /** * Constructs a new instance of <tt>ServerAdapter</tt> class. * * @class This class adapts the native ASP Server object to Troika.ASP Server object. * * @constructor */ function ServerAdapter() { } /** * Sends (transfers) all the information created in one ASP file to a second ASP file. * * @param {String} path The location of the ASP file to which control should be transferred. */ ServerAdapter.prototype.transfer = function (path) { Server.Transfer(path); }; /** * Maps a specified path to a physical path. * * @param {String} path The relative or virtual path to map to a physical path. * If this parameter starts with / or \, it returns a path as if this parameter * is a full virtual path. If this parameter doesn't start with / or \, it returns a path * relative to the directory of the .asp file being processed. */ ServerAdapter.prototype.mapPath = function (path) { return Server.MapPath(path); };
|
TROIKA.ASP - the MVC framework | |||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||