configured web app
authorFelix Schumacher <felix.schumacher@internetallee.de>
Thu, 26 Aug 2010 19:18:15 +0000 (21:18 +0200)
committerFelix Schumacher <felix.schumacher@internetallee.de>
Thu, 26 Aug 2010 19:18:15 +0000 (21:18 +0200)
WebContent/WEB-INF/web.xml

index 5bb1399..8f3773f 100644 (file)
@@ -1,12 +1,18 @@
 <?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>problems</display-name>
-  <welcome-file-list>
-    <welcome-file>index.html</welcome-file>
-    <welcome-file>index.htm</welcome-file>
-    <welcome-file>index.jsp</welcome-file>
-    <welcome-file>default.html</welcome-file>
-    <welcome-file>default.htm</welcome-file>
-    <welcome-file>default.jsp</welcome-file>
-  </welcome-file-list>
+<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>problems</display-name>
+       <welcome-file-list>
+               <welcome-file>loginmanager</welcome-file>
+       </welcome-file-list>
+       <servlet>
+               <servlet-name>LoginManager</servlet-name>
+               <servlet-class>org.mcb.services.LoginManager</servlet-class>
+       </servlet>
+       <servlet-mapping>       
+               <servlet-name>LoginManager</servlet-name>
+               <url-pattern>/loginmanager</url-pattern>
+       </servlet-mapping>
 </web-app>
\ No newline at end of file