| Configuring the Genero Application Server / Java Servlet Installation and Web Server Configuration | |
To configure the Java™ dispatcher, you must set the GAS installation directory in the Java servlet deployment file, called web.xml and located in $FGLASDIR/war/WebContent/WEB-INF.
Open the file and:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
<display-name>Genero Application Server</display-name>
<welcome-file-list>
<welcome-file>demos.html</welcome-file>
<welcome-file>demos.htm</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
</welcome-file-list>
<servlet>
<description>Handles Genero applications</description>
<display-name>Genero Servlet</display-name>
<servlet-name>J2EEDispatch</servlet-name>
<servlet-class>J2EEDispatch</servlet-class>
<init-param>
<param-name>FGLASDIR</param-name>
<param-value>C:\usr\gas\2.30</param-value>
</init-param>
<init-param>
<param-name>FGLASXCF</param-name>
<param-value>C:\usr\gas\2.30\etc\as.xcf</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>J2EEDispatch</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>