> From: Mohit Anchlia [mailto:mohitanch...@gmail.com] 
> Subject: Tomcat war context path

> Currently when I deploy abc-SNAPSHOT-01.war I access is something like
> http://localhost:8080/abc-SNAPSHOT-01.war

Unlikely; I suspect it's really:
http://localhost:8080/abc-SNAPSHOT-01

> How can I change the context root such that I can access it as
> http://localhost:8080/abc?

Deploy it as abc.war.

> Problem is that abc-SNAPSHOT-01.war name could change with the build
> version change.

Which is an issue easily resolved by your deployment script.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to