URL mapping: /appname/stuff/login.jsp -- /appname/login.jsp ?

2001-08-20 Thread mailtracker
--- Tomcat 3.2.x Apache 1.3.20 Solaris 2.8 (aka 8) Sun JDK1.3.1 We are moving a large, servlet-like Java thing toward compliance with the Servlet spec version 2.2. One issue, considered by some to be a real problem, is that in the migration our URL has changed from

Re: URL mapping: /appname/stuff/login.jsp -- /appname/login.jsp ?

2001-08-20 Thread Denis Haskin
You're 'locked in' to the structure you describe only if you use the default webapp context. Instead, create your own context(s). Create a new context in $TOMCAT_HOME/conf/server.xml: Context path=/Appname docBase=/usr/appname ...other attributes