my dog learned polymorphism
The moose likes Tomcat and the fly likes Context path help please Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Context path help please" Watch "Context path help please" New topic

Context path help please

Tempora Telora
Ranch Hand

Joined: Jun 20, 2005
Posts: 83
I have been tasked with updating from tomcat stone age to the newest version. They have the server.xml configured with a hardcoded path via a context conatiner and context path. Should I just copy the entire container out of the old server.xml and put it in the newer version of tomcat's xml?

Do the newer versions of tomcat allow this?

I fought with them and tried to make it a webapp but they just want it function using the exact same method. >.<
Mallik Soupati

Joined: Aug 20, 2006
Posts: 7
newer versions of tomcat still supports contextpath, you can just copy the old one into new server.xml. contextpath and docbase attributes of Context element.
Paul Clapham

Joined: Oct 14, 2005
Posts: 19742

Moving to the Tomcat forum.
I agree. Here's the link:
subject: Context path help please
It's not a secret anymore!