aspose file tools*
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 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 » 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.
It is sorta covered in the JavaRanch Style Guide.
subject: A problem in executing the servlet