Re: Need Important Help in Context path

2017-11-27 Thread Sascha Monteiro
I just rename the file to MyTest.war

On Mon, Nov 27, 2017 at 7:05 PM, Vivek Patil 
wrote:

> Hello All,
>
> I am using Maven to build our application.
> So the war name will be MyTest-1.00-SNAPSHOT1.0 .If I deploy the same in
> Tomcat I have use the URL as
> //localhost:8080/MyTest-1.00-SNAPSHOT1.0
>
> but I need to set the context path MyTest eventhough deployed WAR name as
> MyTest-1.00-SNAPSHOT1.0. I need the URL will be
> //localhost:8080/MyTest
>
> This link should always same if I changed the war name from
> MyTest-*1*.00-SNAPSHOT1.0**to MyTest-*2*.00-SNAPSHOT1.0.
> **
>
> --
> Thanks & Regrads
> Vivek Patil
> Sr IT Engineer.
> Spring Computing Technologies Pvt. Ltd.
> Contact- +91-95792 16049.
>
>


Re: Need Important Help in Context path

2017-11-27 Thread cyron
just create MyTest.xml with contents like below, and drop it under
TomcatHome/conf/Catalina/localhost

--

--

hope it can help u


2017-11-27 17:05 GMT+09:00 Vivek Patil :

> Hello All,
>
> I am using Maven to build our application.
> So the war name will be MyTest-1.00-SNAPSHOT1.0 .If I deploy the same in
> Tomcat I have use the URL as
> //localhost:8080/MyTest-1.00-SNAPSHOT1.0
>
> but I need to set the context path MyTest eventhough deployed WAR name as
> MyTest-1.00-SNAPSHOT1.0. I need the URL will be
> //localhost:8080/MyTest
>
> This link should always same if I changed the war name from
> MyTest-*1*.00-SNAPSHOT1.0**to MyTest-*2*.00-SNAPSHOT1.0.
> **
>
> --
> Thanks & Regrads
> Vivek Patil
> Sr IT Engineer.
> Spring Computing Technologies Pvt. Ltd.
> Contact- +91-95792 16049.
>
>


Need Important Help in Context path

2017-11-27 Thread Vivek Patil

Hello All,

I am using Maven to build our application.
So the war name will be MyTest-1.00-SNAPSHOT1.0 .If I deploy the same in 
Tomcat I have use the URL as

//localhost:8080/MyTest-1.00-SNAPSHOT1.0

but I need to set the context path MyTest eventhough deployed WAR name 
as MyTest-1.00-SNAPSHOT1.0. I need the URL will be

//localhost:8080/MyTest

This link should always same if I changed the war name from 
MyTest-*1*.00-SNAPSHOT1.0**to MyTest-*2*.00-SNAPSHOT1.0.

**

--
Thanks & Regrads
Vivek Patil
Sr IT Engineer.
Spring Computing Technologies Pvt. Ltd.
Contact- +91-95792 16049.