aspose file tools*
The moose likes Servlets and the fly likes Processing Form Data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Processing Form Data" Watch "Processing Form Data" New topic
Author

Processing Form Data

M. Imran
Greenhorn

Joined: Feb 12, 2002
Posts: 21
Hello Everyone,
I am using Servlet 2.3 and Tomcat 4.1, problem is that when I start to process form data, it simply give error message look like not found Hello.class. While I have properly set my dtd. Pls. tell me what is the problem. I also set my context properly in server.xml. pls. tell me what
I do or suggest me a site where I can get help. I am new to Servlets.
Thanks!
Imran
My dtd is
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name> World Application</display-name>
<servlet>
<servlet-name>HelloServlet</servlet-name>
<servlet-class>HelloWorld</servlet-class>
</servlet>=
<servlet-mapping>
<servlet-name>HelloServlet</servlet-name>
<url-pattern>/hello</url-pattern>
</servlet-mapping>
</web-app>
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

That's web.xml, not a dtd.

Hello.class isn't referenced in your web.xml anywhere, what is the exact error message?

And what does your Context entry look like in server.xml?
[ February 12, 2002: Message edited by: Mike Curwen ]
Hazel Sisson
Greenhorn

Joined: Feb 12, 2002
Posts: 17
This is a useful tutorial about processing html form data using servlets:
http://java.sun.com/products/servlet/articles/tutorial/
Hope it helps!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Processing Form Data