<?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>
<!-- Assign name "Login" to the LoginHandler Servlet-->
<servlet>
<servlet-name>Login</servlet-name>
<servlet-class>LoginHandler</servlet-class>
</servlet>
<!-- Assign url pattern "/Login" to the Servlet named "Login" (that means to the LoginHandler Servlet) -->
<servlet-mapping>
<servlet-name>Login</servlet-name>
<url-pattern>/Login</url-pattern>
</servlet-mapping>
<!-- Page "jspExercise1.jsp" or "index.jsp" (if jspExercise1.jsp does not exist)
will be shown if user does not request a specific page on the server.
example try: http://ism.dmst.aueb.gr/jspExercises/
-->
<welcome-file-list>
<welcome-file>jspExercise1.jsp</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<!-- Page "error404.jsp" will be shown if user request a page that does not exist on the server
example try: http://ism.dmst.aueb.gr/jspExercises/something.jsp
-->
<error-page>
<error-code>404</error-code>
<location>/error404.jsp</location>
</error-page>
</web-app>
|