This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "tomcat " Watch "tomcat " New topic


gayathri reddy

Joined: Mar 29, 2001
Posts: 17
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.
Bosun Bello
Ranch Hand

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

So much trouble in the world -- Bob Marley
gayathri reddy

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
Consider Paul's rocket mass heater.
subject: tomcat
Similar Threads
Servlet delivery in Tomcat
Can not find server or DNS error
Tomcat installation on Windows2000 Server
This is my problem....
HTTP Status 404 -- Apache Tomcat/4.1.18