If you surf to the following site and scroll to the bottom of the page you will see a hyperlink labeled Download Sample DataAccess Servlet. Click on the link and save the respected zip file to a directory on your drive. Now unzip the file to the same directory and you see the following files:
<web-app>
<display-name>Stduent Database Demo</display-name>
<description>
This is a simple web application with a source code organization
based on the recommendations of the Application Developer's Guide.
</description>
<servlet>
<servlet-name>StudentServlet</servlet-name>
<servlet-class>StudentDBServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>StudentServlet</servlet-name>
<url-pattern>/student</url-pattern>
</servlet-mapping>
</web-app>
Please note that the url-pattern value DOES NOT have to
be the same as the value for the app.name property in the build.xml file.