ibm-web-ext.xmi 2.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: disp
  5. (C) Copyright IBM Corp. 2005 2010
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <!-- This file affects default servlet behaviour settings in an IBM WebSphere environment only. All other Application Servers will ignore this file.
  9. Option: fileServingEnabled
  10. Value: True - Allows the servlet to handle requests for static or non-servlet requests in addition to servlet requests.
  11. If the application is accessed directly (no web server for example) then this value should be set to True.
  12. Value: False - Limits the servlet to handling only requests for servlet applications. If you are running in a WebSphere cluster and using WLM for load balancing and
  13. a web server will be handling static file requests then set this value to False.
  14. Option: serveServletsByClassnameEnabled
  15. Value: True - This feature makes it possible to directly invoke a Servlet.
  16. Value: False - Disabling this feature is necessary if you are accessing the servlet application directly (without a web server) in WebSphere v6.x and also WebSphere 5.0.2 on HP/UX.
  17. IBM WebSphere documentation should be consulted if the expected behaviour is not seen as a result of proper implementation of this file.
  18. Note that this file must be named "ibm-web-ext.xmi" and located in the <install_location>/webapps/p2pd/WEB-INF directory prior to building the application archive file for it to take effect.
  19. -->
  20. <webappext:WebAppExtension xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
  21. xmlns:webappext="webappext.xmi" xmlns:webapplication="webapplication.xmi" xmi:id="WebAppExtension_1"
  22. fileServingEnabled="true" serveServletsByClassnameEnabled="false">
  23. <webApp href="WEB-INF/web.xml#WebApp_1"/>
  24. <jspAttributes xmi:id="JSPAttribute_1" name="fileServingEnabled" value="true"/>
  25. <jspAttributes xmi:id="JSPAttribute_1" name="serveServletsByClassnameEnabled" value="false"/>
  26. </webappext:WebAppExtension>