Sample: Web Application (HelloUserWikExample)
Step 4: Create the Web Application Deployment DescriptorThe Web application deployment descriptor is an XML file that describes the Web application's initialization parameters, servlets, and other components. Here is the Web application deployment descriptor for the HelloUserWikExample application. The boxes contain explanatory comments. Note: The line breaks in the For more information about creating Web application deployment descriptors, see the documentation for your servlet container. <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app>
<context-param>
<!-- BEGIN BootstrapServlet --> <servlet> <servlet-name>BootstrapServlet</servlet-name> <servlet-class> com.sas.services.webapp.BootstrapServlet </servlet-class> <init-param> <!-- metadata source for local deployable services --> <param-name>localPropsFile</param-name> <param-value> sas_metadata_source_client.properties </param-value> </init-param> <init-param> <!-- metadata source to retrieve remotely deployable services --> <param-name>remotePropsFile</param-name> <param-value> sas_metadata_source_server.properties </param-value> </init-param> <init-param> <param-name>loggingURL</param-name> <param-value> file:///C:\SAS\EntBIServer\Lev1\web\Deployments\Portal\ logging_config_idp.xml</param-value> </init-param> <init-param> <param-name>SystemPropsFile</param-name> <param-value> C:\SAS\EntBIServer\Lev1\web\Deployments\ Portal\system_properties.config </param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> <!-- END BootstrapServlet --> <servlet-mapping> <servlet-name>BootstrapServlet</servlet-name> <url-pattern>/Bootstrap</url-pattern> </servlet-mapping> </web-app> |