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 Run Servlet of my web Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Run Servlet of my web " Watch "Run Servlet of my web " New topic
Author

Run Servlet of my web

TECH ZALA
Greenhorn

Joined: May 03, 2004
Posts: 5
i want to run my servlet helloworld.class
using http://localhost:8080/myweb/servlet/helloword
can anybody suggest me that what are steps i need to take to run my servlet in my browser ?
Malhar Barai
Author
Ranch Hand

Joined: Aug 17, 2001
Posts: 399
Hi dear,
You just need to add your context to the web-apps folder residing in your tomcat directory & tweak the web.xml to show your servlets.
hth
Malhar


Malhar Barai
SOA & Java Book
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

"TECH ZALA"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it
here.
Thanks! and welcome to the JavaRanch!
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Run Servlet of my web