tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Marnell <>
Subject Cannot run my first servlet
Date Wed, 28 Aug 2002 13:14:25 GMT

I give up - I hope someone can look over the setup and tell me what's wrong. I'm getting the
404 resource not available when I try to invoke the servlet from action statement of form.
I'm concerned that I don't have the servlet URI correct on the action statement.

[root@redfish jmarnell]# pwd
[root@redfish jmarnell]# ls -F
form1.html  WEB-INF/
[root@redfish jmarnell]# ls -F WEB-INF
classes/  src/  web.xml
[root@redfish jmarnell]# more WEB-INF/web.xml
<!DOCTYPE web-app 
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" 

   <display-name>Form1 application</display-name>
   <description>process a form's input</description>
[root@redfish jmarnell]# ls WEB-INF/classes
[root@redfish jmarnell]# more form1.html
<form method=post action="/Form1">
Enter your message below.<br><br>
<textarea name=message></textarea><br><br>
<input type=submit value="Send it"></form>
[root@redfish jmarnell]# 

Let me know if you need more info and thanks.


Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message