File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes A problem in executing the servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "A problem in executing the servlet" Watch "A problem in executing the servlet" New topic

A problem in executing the servlet

manda prasad

Joined: Oct 06, 2004
Posts: 12
Hi All,

I have a servlet which generates a HTML page.The URL I use to execute the servlet is.


The following is the servlet :

My form.html file is below :

And my web.xml file is :

please let me know how do I get the html tags written in servlet file
Rob Ross

Joined: Jan 07, 2002
Posts: 2205
What is the problem you are having? I could not tell by your description what is not working for you.

SCJP 1.4
Nitish Bahadur
Ranch Hand

Joined: Aug 25, 2003
Posts: 118
Check <servlet-class>com.example.web.examplejava</servlet-class>

The code you posted uses HelloServlet.
I agree. Here's the link:
subject: A problem in executing the servlet
It's not a secret anymore!