File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "tomcat " Watch "tomcat " New topic
Author

tomcat

gayathri reddy
Greenhorn

Joined: Mar 29, 2001
Posts: 17
Hi,
I am new to tomcat.I wrote HelloWorld servlet and placed the .class file in web-inf/classes.when i call it in the browser using http://localhost:8080/examples/Myservlets/HelloWorld it will display empty window.Appreciate if any one can fix my problem.
thanks,
-greddy
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
Use this call http://localhost:8080/examples/servlet/HelloWorld
Bosun


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
gayathri reddy
Greenhorn

Joined: Mar 29, 2001
Posts: 17
Hi Bosun Bello,
Where should i put my html.I created new directory called MyServlets in examples and placed .class files in web-inf/classes.My question is where should i place my .html file
thanks,
-greddy
 
Consider Paul's rocket mass heater.
 
subject: tomcat