*
The moose likes Tomcat and the fly likes How to set context path in Tomcat 5.5.13 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to set context path in Tomcat 5.5.13" Watch "How to set context path in Tomcat 5.5.13" New topic
Author

How to set context path in Tomcat 5.5.13

sadasiva kumar
Ranch Hand

Joined: Oct 30, 2003
Posts: 91
Hi,
I installed Tomcat 5.5.13 beta version.I can't able to find it context.And also i want to know how to set context path.If any one tells that im very much thankful to every one.


regards
SADASIVAKUMAR


SADASIVAKUMAR UTTI, SCJP1.4
A bend in the road is not the end of the road ... unless you fail to make the turn.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Moving to the Apache Tomcat forum.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

The easiest way is to just create a directory structure with the name of the context path you want under the tomcat webapps directory.

For example if you want the context path to be "MyApp":
tomcat/webapps/MyApp/WEB-INF

As long as the folder is under webapps and has a 'WEB-INF' folder inside it, tomcat will deploy it as a webapp.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set context path in Tomcat 5.5.13
 
Similar Threads
How to set application context path in server.xml
Command window
How to make a context child of an existing context
admin context
Do have to restart Tomcat every time I recompile a bean?