On 15/08/2011 20:45, Jesse Farinacci wrote:
Greetings,

On Mon, Aug 15, 2011 at 3:39 PM, Mohit Anchlia<mohitanch...@gmail.com>  wrote:
Currently when I deploy abc-SNAPSHOT-01.war I access is something like
http://localhost:8080/abc-SNAPSHOT-01.war

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

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

You could also bundle a META-INF/context.xml file which looks something akin to:

<?xml version="1.0" encoding="UTF-8"?>
<Context path="/" />

No you can't. That config is invalid.

Mark

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

Reply via email to