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