This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
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

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Run Servlet of my web " Watch "Run Servlet of my web " New topic

Run Servlet of my web


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
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.

Malhar Barai
SOA & Java Book
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it
Thanks! and welcome to the JavaRanch!

Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Run Servlet of my web
It's not a secret anymore!