Aaron Chai wrote:
> Is it possible for Tomcat to deploy war files where the context name is not
> the same as the original war file name, e.g. deploying webapp.war and the
> context name is /mainApp instead of /webapp. How would this be achieved if
> it is possible?

I don't think this is possible - at least not with Tomcat >= 5. As
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
states, the only case where the Context's path may be set via a configuration 
option is when statically defining a Context in server.xml - which is 
discouraged and doesn't go along well with deploying a war file.

Regards
  mks

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to