tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Tomcat war context path
Date Thu, 11 Aug 2011 19:35:17 GMT
> From: Mohit Anchlia [mailto:mohitanchlia@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message