2
0

J2EEConsts.cs 2.5 KB

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