• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat

 
gayathri reddy
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use this call http://localhost:8080/examples/servlet/HelloWorld
Bosun
 
gayathri reddy
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic