Problem with web.xml
hey guys,
i'm using netbeans 5.5 to develop my first servlet application. i created my project and tried to configure the web.xml file. here is my xml file:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<servlet>
<servlet-name>td1_1</servlet-name>
<servlet-class>Td1_1</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>td1_1</servlet-name>
<url-pattern>/Main</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>
index.jsp
</welcome-file>
</welcome-file-list>
</web-app>
the first time i started the application i set the url-pattern to /Home.
when i now try to change the url-pattern to /Main, it is not updated. it is still looking for /Home
i saved and compiled everything but still the same result:
HTTP Status 404 - /td1.1/Home
type Status report
message /td1.1/Home
description The requested resource (/td1.1/Home) is not available.
Apache Tomcat/5.5.17

