Advertisement
Guest User

Untitled

a guest
Sep 13th, 2017
41
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.17 KB | None
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2.  
  3. <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
  4. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5. xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
  6. http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
  7. version="3.1">
  8.  
  9.  
  10. <!-- SDA: -->
  11. <!-- ===================================================================== -->
  12. <!-- Lucee CFML Servlet - this is the main Lucee servlet -->
  13. <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
  14. <servlet>
  15. <servlet-name>GlobalCFMLServlet</servlet-name>
  16. <description>CFML runtime Engine</description>
  17. <servlet-class>lucee.loader.servlet.CFMLServlet</servlet-class>
  18. <init-param>
  19. <param-name>lucee-web-directory</param-name>
  20. <param-value>/usr/tomcat/{web-context-label}</param-value>
  21. <description>Lucee Web Directory</description>
  22. </init-param>
  23. <init-param>
  24. <param-name>lucee-server-directory</param-name>
  25. <param-value>/usr/tomcat/</param-value>
  26. <description>Directory where Lucee server root is stored</description>
  27. </init-param>
  28. <load-on-startup>2</load-on-startup>
  29. </servlet>
  30. <servlet-mapping>
  31. <servlet-name>GlobalCFMLServlet</servlet-name>
  32. <url-pattern>*.cfm</url-pattern>
  33. </servlet-mapping>
  34. <servlet-mapping>
  35. <servlet-name>GlobalCFMLServlet</servlet-name>
  36. <url-pattern>*.cfml</url-pattern>
  37. </servlet-mapping>
  38. <servlet-mapping>
  39. <servlet-name>GlobalCFMLServlet</servlet-name>
  40. <url-pattern>*.cfc</url-pattern>
  41. </servlet-mapping>
  42. <!-- ===================================================================== -->
  43. <!-- Lucee REST Servlet - handles Lucee's RESTful web services -->
  44. <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
  45. <servlet id="RESTServlet">
  46. <description>Lucee Servlet for RESTful services</description>
  47. <servlet-name>RESTServlet</servlet-name>
  48. <servlet-class>lucee.loader.servlet.RestServlet</servlet-class>
  49. <load-on-startup>4</load-on-startup>
  50. </servlet>
  51. <servlet-mapping>
  52. <servlet-name>RESTServlet</servlet-name>
  53. <url-pattern>/rest/*</url-pattern>
  54. </servlet-mapping>
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67. <!-- SBA: -->
  68.  
  69. <servlet>
  70. <servlet-name>default</servlet-name>
  71. <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
  72. <init-param>
  73. <param-name>debug</param-name>
  74. <param-value>0</param-value>
  75. </init-param>
  76. <init-param>
  77. <param-name>listings</param-name>
  78. <param-value>false</param-value>
  79. </init-param>
  80. <load-on-startup>1</load-on-startup>
  81. </servlet>
  82.  
  83.  
  84. <servlet>
  85. <servlet-name>jsp</servlet-name>
  86. <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
  87. <init-param>
  88. <param-name>fork</param-name>
  89. <param-value>false</param-value>
  90. </init-param>
  91. <init-param>
  92. <param-name>xpoweredBy</param-name>
  93. <param-value>false</param-value>
  94. </init-param>
  95. <load-on-startup>3</load-on-startup>
  96. </servlet>
Advertisement
RAW Paste Data Copied
Advertisement