Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Context path help please

 
Tempora Telora
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Tomcat forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic