You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mohit Anchlia <mo...@gmail.com> on 2008/10/28 20:16:34 UTC

Depoy as different URL than default war file name

I have a war file App.war so the url is http://ip/App/query but I want
it to be deployed in a way that the Url is http://ip/New/App/query.
How can I change the default behaviour?

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Depoy as different URL than default war file name

Posted by Mohit Anchlia <mo...@gmail.com>.
That works thanks.

On Tue, Oct 28, 2008 at 1:03 PM, Caldarale, Charles R
<Ch...@unisys.com> wrote:
>> From: Mohit Anchlia [mailto:mohitanchlia@gmail.com]
>> Subject: Re: Depoy as different URL than default war file name
>>
>> This is what my logs say INFO: Starting Servlet Engine:
>> Apache Tomcat/6.0.18
>>
>> So does it mean I can use New#App.war?
>
> That's what Mark said.
>
> You could just try it...
>
>  - 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 start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Depoy as different URL than default war file name

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Mohit Anchlia [mailto:mohitanchlia@gmail.com]
> Subject: Re: Depoy as different URL than default war file name
>
> This is what my logs say INFO: Starting Servlet Engine:
> Apache Tomcat/6.0.18
>
> So does it mean I can use New#App.war?

That's what Mark said.

You could just try it...

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Depoy as different URL than default war file name

Posted by Mohit Anchlia <mo...@gmail.com>.
This is what my logs say INFO: Starting Servlet Engine: Apache Tomcat/6.0.18

So does it mean I can use New#App.war?


On Tue, Oct 28, 2008 at 12:21 PM, Mark Thomas <ma...@apache.org> wrote:
> Mohit Anchlia wrote:
>> I have a war file App.war so the url is http://ip/App/query but I want
>> it to be deployed in a way that the Url is http://ip/New/App/query.
>> How can I change the default behaviour?
>
> In Tomcat 6.0.18 onwards just rename it New#App.war
>
> Mark
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Depoy as different URL than default war file name

Posted by Mark Thomas <ma...@apache.org>.
Mohit Anchlia wrote:
> I have a war file App.war so the url is http://ip/App/query but I want
> it to be deployed in a way that the Url is http://ip/New/App/query.
> How can I change the default behaviour?

In Tomcat 6.0.18 onwards just rename it New#App.war

Mark



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org