Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Tomcat and the fly likes creating a web context root in 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 » Products » Tomcat
Bookmark "creating a web context root in tomcat" Watch "creating a web context root in tomcat" New topic

creating a web context root in tomcat

Pawanpreet Singh
Ranch Hand

Joined: Jun 12, 2005
Posts: 264

Could any body help me to sort out this

How to configure a web context root on Tomcat. In Tomca\webapps folder, if i want to define a web root with name myweb and want to access that web root using http://localhost:8080/myserver, How can i achieve, do i need to do settings in server.xml or in web.xml.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Did you intend for the difference in names: myweb/myserver?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: creating a web context root in tomcat
Similar Threads
setting index.html to my context root
Perl/Cgi in Tomcat 5.5
changing ROOT in Tomcat 5.5
Multilevel context path for ROOT app does not work
how to use the servlet in tomcat??