C
cat_dog_ass
I have the following html file:
C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\Deepanjan\HTML\html1.html
I have the following xml file:
C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\Deepanjan\WEB-INF\web.xml
I have the following servlet:
C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\Deepanjan\Servlet1\Servlet1.class
Tomcat is up & running.
The html file shows up fine and has the following cantent:
<html>
<head><title>This is the title</title></head>
<body>
<form action="Servlet1" methed="get">
<input type="submit">
</form>
</body>
</html>
The xml file has the following content:
<web-app>
<display-name>counter</display-name>
<description>
Welcome to Tomcat
</description>
<servlet>
<servlet-name>Servlet1</servlet-name>
<servlet-class>Servlet1</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Servlet1</servlet-name>
<url-pattern>/Servlet1</url-pattern>
</servlet-mapping>
</web-app>
When I click on the Submit button on the HTML file, I get:
Firefox can't find the file at /C:/Program Files/Apache Software
Foundation/Tomcat 5.5/webapps/Deepanjan/HTML/Servlet1?
What's the problem?
C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\Deepanjan\HTML\html1.html
I have the following xml file:
C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\Deepanjan\WEB-INF\web.xml
I have the following servlet:
C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\Deepanjan\Servlet1\Servlet1.class
Tomcat is up & running.
The html file shows up fine and has the following cantent:
<html>
<head><title>This is the title</title></head>
<body>
<form action="Servlet1" methed="get">
<input type="submit">
</form>
</body>
</html>
The xml file has the following content:
<web-app>
<display-name>counter</display-name>
<description>
Welcome to Tomcat
</description>
<servlet>
<servlet-name>Servlet1</servlet-name>
<servlet-class>Servlet1</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Servlet1</servlet-name>
<url-pattern>/Servlet1</url-pattern>
</servlet-mapping>
</web-app>
When I click on the Submit button on the HTML file, I get:
Firefox can't find the file at /C:/Program Files/Apache Software
Foundation/Tomcat 5.5/webapps/Deepanjan/HTML/Servlet1?
What's the problem?