<?xml version="1.0" encoding="UTF-8"?>
<!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>
<display-name>Basic RefEntry Servlet</display-name>
<description>Serves up RefEntry documents.</description>
<servlet>
<servlet-name>RefEntry</servlet-name>
<servlet-class>org.mcraig.cs445.refentry.RefEntryServlet</servlet-class>
<init-param>
<param-name>serializedBackend</param-name>
<param-value>backend</param-value>
</init-param>
<init-param>
<param-name>serializedCommonWords</param-name>
<param-value>commonWords</param-value>
</init-param>
<init-param>
<param-name>defaultPage</param-name>
<param-value>webman-1</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>RefEntry</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
<mime-mapping>
<extension>pdf</extension>
<mime-type>application/pdf</mime-type>
</mime-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
</web-app> |