File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes setting default context in Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "setting default context in Tomcat" Watch "setting default context in Tomcat" New topic

setting default context in Tomcat

Rashid Darvesh
Ranch Hand

Joined: Feb 13, 2004
Posts: 189
i have acontext in server.xml something like this
<Context path="/taaza" docBase="C:\rashid\darniz\exploded" debug="0" reloadable="true" crossContext="true"/>

need to know how to make it a default on for example when i type
http://localhost:8080 it should go my web application instead of typing
Any opinions or suggestions

It is sorta covered in the JavaRanch Style Guide.
subject: setting default context in Tomcat
It's not a secret anymore!