Skip Headers
Oracle® Application Server Forms Services Deployment Guide
10g Release 2 (10.1.2)
B14032-03
  Go To Documentation Library
Library
Go To Product List
Product
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
 
Next
Next
 

C.4 web.xml

For a description and the location of web.xml, see Chapter 2, web.xml.

Advanced users might want to edit the web.xml file to:

C.4.1 Default web.xml File

<?xml version="1.0"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
 "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<!-- $Id: web.xml 29-apr-2004.13:43:19 ahousing Exp $
 Name
   web.xml
 Purpose
   Forms web application (WAR) configuration file
-->
<web-app>
   <display-name>Forms Services</display-name>
   <description>Oracle AS: Forms Services</description>
   <welcome-file-list>
      <welcome-file>lservlet</welcome-file>
   </welcome-file-list>
   <!-- Forms page generator servlet -->
   <servlet>
      <servlet-name>frmservlet</servlet-name>
      <servlet-class>oracle.forms.servlet.FormsServlet</servlet-class>
      <load-on-startup>1</load-on-startup>
      <!-- During product installation the configFileName parameter is
           specified in the orion-web.xml file as a context parameter
           override (in iDS), or as a Java system property (in iAS).  
           It is set to <oracle_home>/forms/server/formsweb.cfg.
           You can override that value here by editing and uncommenting the
           following servlet parameter setting: -->
      <!--
        <init-param>
           <param-name>configFileName</param-name>
           <param-value><your configuration file name goes here></param-value>
        </init-param> 
      --> 
      <init-param>
         <!-- Turn on or off sensitive options on the frmservlet/admin page. 
              For security reasons this should be set to false for 
              production sites.
         -->
         <param-name>testMode</param-name>
         <param-value>false</param-value>
      </init-param>
   </servlet>  
   <!-- Forms listener servlet -->
   <servlet>
      <servlet-name>lservlet</servlet-name>
      <servlet-class>oracle.forms.servlet.ListenerServlet</servlet-class>
   </servlet>  
   <!-- Forms servlet mappings. Allow these paths to the servlets:
           /forms/frmservlet or /forms/frmservlet/*: FormsServlet
           /forms/lservlet or /forms/lservlet/*: ListenerServlet 
   -->
   <servlet-mapping>
      <servlet-name>frmservlet</servlet-name>
      <url-pattern>/frmservlet*</url-pattern>
   </servlet-mapping>
   <servlet-mapping>
      <servlet-name>lservlet</servlet-name>
      <url-pattern>/lservlet*</url-pattern>
   </servlet-mapping>
   <!-- The following context parameter is only defined here so it can be 
        overriden by the (site-specific) value in the orion-web.xml file.  
    -->
    <context-param>
       <param-name>configFileName</param-name>
       <param-value></param-value>
    </context-param>
</web-app>