2 // (C) 2005 Mainsoft Corporation (http://www.mainsoft.com)
\r
6 // Permission is hereby granted, free of charge, to any person obtaining
\r
7 // a copy of this software and associated documentation files (the
\r
8 // "Software"), to deal in the Software without restriction, including
\r
9 // without limitation the rights to use, copy, modify, merge, publish,
\r
10 // distribute, sublicense, and/or sell copies of the Software, and to
\r
11 // permit persons to whom the Software is furnished to do so, subject to
\r
12 // the following conditions:
\r
14 // The above copyright notice and this permission notice shall be
\r
15 // included in all copies or substantial portions of the Software.
\r
17 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
\r
18 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
\r
19 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
\r
20 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
\r
21 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
\r
22 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
\r
23 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\r
28 namespace Mainsoft.Web.Hosting
\r
30 public static class J2EEConsts
\r
32 public const string SESSION_STATE = "GH_SESSION_STATE";
\r
34 public const string CLASS_LOADER = "GH_ContextClassLoader";
\r
35 public const string SERVLET_CONFIG = "GH_ServletConfig";
\r
36 public const string RESOURCE_LOADER = "GH_ResourceLoader";
\r
38 public const string APP_DOMAIN = "AppDomain";
\r
40 public const string Enable_Session_Persistency = "EnableSessionPersistency";
\r
42 //Used to save assemblies.xml file per application.
\r
43 public const string ASSEMBLIES_FILE = "AssembliesXml";
\r
45 //Used to save FileList.xml file per application.
\r
46 public const string FILE_LIST_FILE = "FileListXml";
\r
48 public const string MAP_PATH_CACHE = "MapPathCache";
\r
50 //Used to save servlet request of current Servlet.
\r
51 public const string SERVLET_REQUEST = "GH_ServletRequest";
\r
52 //Used to save servlet response of current Servlet.
\r
53 public const string SERVLET_RESPONSE = "GH_ServletResponse";
\r
54 //Used to save current Servlet.
\r
55 public const string CURRENT_SERVLET = "GH_Servlet";
\r
57 public const string DESERIALIZER_CONST = "GH_DeserializeWorkAround";
\r
58 //Used to control file system access in web app context
\r
59 public const string FILESYSTEM_ACCESS = "WebFileSystemAccess";
\r
60 public const string ACCESS_FULL = "Full";
\r
61 public const string ACCESS_VIRTUAL = "Virtual";
\r
63 public const string ACTION_URL_PREFIX = "ActionURL:";
\r
64 public const string RENDER_URL_PREFIX = "RenderURL:";
\r