Subversion Repositories WebE

Compare Revisions

Last modification

Ignore whitespace Rev 18 → Rev 17

/trunk/src/log4j.properties
File deleted
\ No newline at end of file
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: src/ch/ffhs/webE/action/LoginAction.java
===================================================================
--- src/ch/ffhs/webE/action/LoginAction.java (revision 18)
+++ src/ch/ffhs/webE/action/LoginAction.java (nonexistent)
@@ -1,42 +0,0 @@
-package ch.ffhs.webE.action;
-
-import com.opensymphony.xwork2.ActionSupport;
-
-public class LoginAction extends ActionSupport {
-
- private static final long serialVersionUID = 1799753056277211344L;
-
- private String userName ;
- private String password;
-
- public LoginAction() {
- }
-
- public String execute() {
- //TODO: DB Abfrage für Login
- if("moos".equals(getUserName())) {
- return "success";
- } else {
- return "failed";
- }
- }
-
- public String getUserName() {
- return userName;
- }
-
- public void setUserName(String userName) {
- this.userName = userName;
- }
-
- public String getPassword() {
- return password;
- }
- public void setPassword(String password) {
- this.password = password;
- }
-
-
-
-
-}
/src/ch/ffhs/webE/action/LoginAction.java
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: src/ch/ffhs/webE/web/UserAction.java
===================================================================
--- src/ch/ffhs/webE/web/UserAction.java (revision 18)
+++ src/ch/ffhs/webE/web/UserAction.java (nonexistent)
@@ -1,54 +0,0 @@
-package ch.ffhs.webE.web;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import com.opensymphony.xwork2.ActionSupport;
-import com.opensymphony.xwork2.ModelDriven;
-import ch.ffhs.webE.dao.UserDAO;
-import ch.ffhs.webE.dao.UserDAOImpl;
-
-import ch.ffhs.webE.domain.User;
-
-public class UserAction extends ActionSupport implements ModelDriven<User> {
-
- private static final long serialVersionUID = -6659925652584240539L;
-
- private User user = new User();
- private List<User> userList = new ArrayList<User>();
- private UserDAO userDAO = new UserDAOImpl();
-
- @Override
- public User getModel() {
- return user;
- }
-
- public String add()
- {
- userDAO.saveUser(user);
- return SUCCESS;
- }
-
- public String list()
- {
- userList = userDAO.listUser();
- return SUCCESS;
- }
-
- public User getUser() {
- return user;
- }
-
- public void setUser(User user) {
- this.user = user;
- }
-
- public List<User> getUserList() {
- return userList;
- }
-
- public void setUserList(List<User> userList) {
- this.userList = userList;
- }
-
-}
/src/ch/ffhs/webE/web/UserAction.java
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: src/ch/ffhs/webE/dao/UserDAO.java
===================================================================
--- src/ch/ffhs/webE/dao/UserDAO.java (revision 18)
+++ src/ch/ffhs/webE/dao/UserDAO.java (nonexistent)
@@ -1,12 +0,0 @@
-package ch.ffhs.webE.dao;
-
-import java.util.List;
-
-import ch.ffhs.webE.domain.User;
-
-public interface UserDAO {
-
- List<User> listUser();
- void saveUser(User user);
-
-}
/src/ch/ffhs/webE/dao/UserDAO.java
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: src/ch/ffhs/webE/dao/UserDAOImpl.java
===================================================================
--- src/ch/ffhs/webE/dao/UserDAOImpl.java (revision 18)
+++ src/ch/ffhs/webE/dao/UserDAOImpl.java (nonexistent)
@@ -1,39 +0,0 @@
-package ch.ffhs.webE.dao;
-
-import java.util.List;
-
-import org.hibernate.Session;
-import org.hibernate.Transaction;
-
-import com.googlecode.s2hibernate.struts2.plugin.annotations.SessionTarget;
-import com.googlecode.s2hibernate.struts2.plugin.annotations.TransactionTarget;
-import ch.ffhs.webE.domain.*;
-
-public class UserDAOImpl implements UserDAO {
- @SessionTarget
- Session session;
- @TransactionTarget
- Transaction transaction;
-
- @SuppressWarnings("unchecked")
- @Override
- public List<User> listUser() {
- List<User> courses = null;
- try {
- courses = session.createQuery("from User").list();
- } catch (Exception e) {
- e.printStackTrace();
- }
- return courses;
- }
-
- @Override
- public void saveUser(User user) {
- try {
- session.save(user);
- } catch (Exception e) {
- transaction.rollback();
- e.printStackTrace();
- }
- }
-}
/src/ch/ffhs/webE/dao/UserDAOImpl.java
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: src/ch/ffhs/webE/domain/User.java
===================================================================
--- src/ch/ffhs/webE/domain/User.java (revision 18)
+++ src/ch/ffhs/webE/domain/User.java (nonexistent)
@@ -1,71 +0,0 @@
-package ch.ffhs.webE.domain;
-
-import javax.persistence.Column;
-import javax.persistence.Entity;
-import javax.persistence.GeneratedValue;
-import javax.persistence.Id;
-import javax.persistence.Table;
-
-@Entity
-@Table(name="user")
-public class User {
-
-
- private int id;
- private String username;
- private String password;
-
- private String firstname;
- private String lastname;
- private boolean admin;
-
- @Id
- @GeneratedValue
- @Column(name="id")
- public int getId() {
- return id;
- }
- public void setId(int id) {
- this.id = id;
- }
-
- @Column(name="username")
- public String getUsername() {
- return username;
- }
- public void setUsername(String username) {
- this.username = username;
- }
-
- @Column(name="lastname")
- public String getLastname() {
- return lastname;
- }
- public void setLastname(String lastname) {
- this.lastname = lastname;
- }
-
- @Column(name="admin")
- public boolean isAdmin() {
- return admin;
- }
- public void setAdmin(boolean admin) {
- this.admin = admin;
- }
-
- @Column(name="firstname")
- public void setFirstname(String firstname) {
- this.firstname = firstname;
- }
- public String getFirstname() {
- return firstname;
- }
-
- @Column(name="password")
- public String getPassword() {
- return password;
- }
- public void setPassword(String password) {
- this.password = password;
- }
-}
/src/ch/ffhs/webE/domain/User.java
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: src/hibernate.cfg.xml
===================================================================
--- src/hibernate.cfg.xml (revision 18)
+++ src/hibernate.cfg.xml (nonexistent)
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE hibernate-configuration PUBLIC
- "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
- "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
-<hibernate-configuration>
- <session-factory>
- <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
-
- <property name="hibernate.connection.url">jdbc:mysql://localhost/webengineering</property>
- <property name="hibernate.connection.username">webEngineering</property>
- <property name="connection.password">ontologie</property>
-
- <property name="connection.pool_size">1</property>
- <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
- <property name="show_sql">true</property>
- <property name="hbm2ddl.auto">create</property>
- <mapping class="ch.ffhs.webE.domain.User" />
- </session-factory>
-</hibernate-configuration>
/src/hibernate.cfg.xml
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: src/struts.xml
===================================================================
--- src/struts.xml (revision 18)
+++ src/struts.xml (nonexistent)
@@ -1,21 +0,0 @@
-<!DOCTYPE struts PUBLIC
-"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
-"http://struts.apache.org/dtds/struts-2.0.dtd">
-
-<struts>
-
- <package name="default" extends="hibernate-default">
-
- <action name="LoginDo" class="ch.ffhs.webE.action.LoginAction">
- <result name="success" type="redirect">/user_index.jsp</result>
- <result name="failed" type="redirect">/index.jsp</result>
- </action>
-
- <action name="addUser" method="add" class="ch.ffhs.webE.web.UserAction">
- <result name="success" type="redirect">listUser</result>
- </action>
- <action name="listUser" method="list" class="ch.ffhs.webE.web.UserAction">
- <result name="success">/register.jsp</result>
- </action>
- </package>
-</struts>
\ No newline at end of file
/src/struts.xml
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: .classpath
===================================================================
--- .classpath (revision 18)
+++ .classpath (revision 17)
@@ -13,5 +13,6 @@
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="lib" path="WebContent/WEB-INF/lib/log4j-1.2.16.jar"/>
<classpathentry kind="output" path="build/classes"/>
</classpath>
Index: WebContent/user_index.jsp
===================================================================
--- WebContent/user_index.jsp (revision 18)
+++ WebContent/user_index.jsp (nonexistent)
@@ -1,21 +0,0 @@
-<%@ page errorPage="ErrorHandler.jsp" %>
-<%@ include file="html_head.jsp" %>
-
- <%-- Only serves as a container for the different site elements!
- Do not write any text directly into the container div! --%>
- <div id="page-container">
- <div id="header">
- <%@ include file="header.jsp" %>
- </div>
-
- <div id="navbar">
- <%@ include file="user_nav.jsp" %>
- </div>
-
- <div id="content">
- <%@ include file="user_main.jsp" %>
- </div>
- </div>
-
-</body>
-</html>
/WebContent/user_index.jsp
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: WebContent/errorHandler.jsp
===================================================================
--- WebContent/errorHandler.jsp (revision 18)
+++ WebContent/errorHandler.jsp (nonexistent)
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1" ?>
-<%@ page isErrorPage=true %>
-<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
- pageEncoding="utf-8"%>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
-<title>Error page</title>
-</head>
-<body>
-Die Seite hat einen Fehler verursacht. Bitte versuchen Sie es nochmals.
-</body>
-</html>
\ No newline at end of file
/WebContent/errorHandler.jsp
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: WebContent/html_head.jsp
===================================================================
--- WebContent/html_head.jsp (revision 18)
+++ WebContent/html_head.jsp (revision 17)
@@ -1,5 +1,3 @@
-
-<%@ page pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
/trunk/WebContent/index.jsp
1,15 → 1,19
<%@ page errorPage="ErrorHandler.jsp" %>
<%@ include file="html_head.jsp" %>
 
<%-- Only serves as a container for the different site elements!
Do not write any text directly into the container div! --%>
<div id="page-container">
<div id="header">
<%@ include file="header.jsp" %>
</div>
<%@ include file="login.jsp" %>
<div id="navbar">
<%@ include file="user_nav.jsp" %>
</div>
<div id="content">
<%@ include file="user_main.jsp" %>
</div>
</div>
</body>
/trunk/WebContent/login.jsp
File deleted
\ No newline at end of file
/trunk/WebContent/user_main.jsp
1,0 → 0,0
<p>Willkommen im User-Bereich</p>
<h1>Der Main</h1>
/trunk/WebContent/user_nav.jsp
1,36 → 1,12
<div id="navigation">
<ul>
<li>
Ontologie
Oberkategorie
<ul>
<li>
<a href="">Ansehen</a>
<a href="?p=customer&amp;a=customer_list">Unterkategorie</a>
</li>
</ul>
</li>
<li>
Begriffe
<ul>
<li>
<a href="">Hinzuf&uuml;gen</a>
</li>
<li>
<a href="">&Auml;ndern, L&ouml;schen</a>
</li>
</ul>
</li>
<li>
Beziehungen
<ul>
<li>
<a href="">Hinzuf&uuml;gen</a>
</li>
<li>
<a href="">&Auml;ndern, L&ouml;schen</a>
</li>
</ul>
</li>
</ul>
</div>
/trunk/WebContent/WEB-INF/classes/log4j.properties
File deleted
\ No newline at end of file
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: WebContent/WEB-INF/lib/jta-1.1.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/jta-1.1.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/struts2-fullhibernatecore-plugin-1.4-GA.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/struts2-fullhibernatecore-plugin-1.4-GA.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/commons-logging-1.1.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/commons-logging-1.1.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/commons-fileupload-1.2.1.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/commons-fileupload-1.2.1.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/hibernate-validator.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/hibernate-validator.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/commons-io-1.3.2.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/commons-io-1.3.2.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/hibernate-commons-annotations.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/hibernate-commons-annotations.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/commons-lang-2.3.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/commons-lang-2.3.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/struts2-convention-plugin-2.1.6.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/struts2-convention-plugin-2.1.6.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/dom4j-1.6.1.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/dom4j-1.6.1.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/commons-collections-3.1.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/commons-collections-3.1.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/log4j-1.2.15.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/log4j-1.2.15.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/hibernate3.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/hibernate3.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/ognl-2.6.11.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/ognl-2.6.11.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/hsqldb.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/hsqldb.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/slf4j-api-1.5.8.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/slf4j-api-1.5.8.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/struts2-core-2.1.6.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/struts2-core-2.1.6.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/ejb3-persistence.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/ejb3-persistence.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/antlr-2.7.6.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/antlr-2.7.6.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/mysql-connector-java-5.1.13-bin.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/mysql-connector-java-5.1.13-bin.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/freemarker-2.3.13.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/freemarker-2.3.13.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/slf4j-log4j12-1.5.8.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/slf4j-log4j12-1.5.8.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/xwork-2.1.2.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/xwork-2.1.2.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/javassist-3.9.0.GA.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/javassist-3.9.0.GA.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/junit-3.8.1.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/junit-3.8.1.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/lib/hibernate-annotations.jar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/WebContent/WEB-INF/lib/hibernate-annotations.jar
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: WebContent/WEB-INF/web.xml
===================================================================
--- WebContent/WEB-INF/web.xml (revision 18)
+++ WebContent/WEB-INF/web.xml (revision 17)
@@ -1,17 +1,6 @@
<?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>WebEngineeringProject</display-name>
-
- <filter>
- <filter-name>struts2</filter-name>
- <filter-class>
- org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
- </filter>
- <filter-mapping>
- <filter-name>struts2</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
-
+ <display-name>Web Engineering</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
@@ -20,14 +9,4 @@
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
- <servlet>
- <description></description>
- <display-name>Servlet</display-name>
- <servlet-name>Servlet</servlet-name>
- <servlet-class>Servlet</servlet-class>
- </servlet>
- <servlet-mapping>
- <servlet-name>Servlet</servlet-name>
- <url-pattern>/Servlet</url-pattern>
- </servlet-mapping>
</web-app>
\ No newline at end of file