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="/" />

-Jesse

-- 
There are 10 types of people in this world, those
that can read binary and those that can not.

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

Reply via email to