MACROMEDIA COLDFUSION 4.5-ADMINISTRING COLDFUSION SERVER Specifiche Pagina 96

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 95
CHAPTER 7
92
Configuring Your System
Disabling JSP functionality (server configuration
only)
ColdFusion Enterprise Edition provides support for JavaServer Pages (JSP) technology through the underlying
J2EE application server on which it runs. Because JSP code runs outside of the realm of the ColdFusion security
framework and, therefore, is not subject to ColdFusion sandbox security, you do not typically deploy JSPs in a
shared, hosted environment where more than one customer shares a single server.
Disable JSP functionality
1 Open cf_root/runtime/servers/default/SERVER-INF/default-web.xml in a text editor.
2 Find the servlet-mapping entry for JspLicenseServlet.
3 Comment out this entry, as the following example shows:
<!--
<servlet-mapping>
<servlet-name>JspLicenseServlet</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
-->
4 Save and close the file.
5 Open the file cf_root\WEB-INF\web.xml.
6 Comment out the servlet mapping, as follows:
<!--
<servlet-mapping>
<servlet-name>JspLicenseServlet</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
-->
7 Save and close the file.
8 Restart ColdFusion.
Vedere la pagina 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 111 112

Commenti su questo manuale

Nessun commento