GeeCON Prague 2014*
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


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
 
GeeCON Prague 2014
 
subject: Is context element in tomcat 5 server.xml ??