my dog learned polymorphism*
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: 17249
    
    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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Run Servlet of my web
 
Similar Threads
Different ways for Contex
Error when deploying application in WAS ae 4.0
Why method sessionCreated() is not invoked?
Tomcat SSL Context
Apache2 Tomcat4