This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Is context element in tomcat 5 server.xml ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Is context element in tomcat 5 server.xml ??" Watch "Is context element in tomcat 5 server.xml ??" New topic
Author

Is context element in tomcat 5 server.xml ??

Peixiao Lin
Greenhorn

Joined: Oct 04, 2004
Posts: 28
my tomcat version is 5.0.29, and I can not find context element in server.xml. what I can do if I want to define my own prefix?
Guido Schoepp
Greenhorn

Joined: Oct 14, 2004
Posts: 21
Originally posted by Peixiao Lin:
my tomcat version is 5.0.29, and I can not find context element in server.xml. what I can do if I want to define my own prefix?


You can add <context> elements in server.xml below e.g. <host>:

...or you can add a context by using the admin app:
http://localhost:8080/admin/

Guido
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is context element in tomcat 5 server.xml ??
 
Similar Threads
Context path help please
Valid range for Context attribute debug
Setting docbase for a web-application in JBoss 3.0.4 - Tomcat 4.1.12
Setting docbase for a web-application in JBoss 3.0.4 - Tomcat 4.1.12
tomcat/iis - not recognizing web.xml file.