tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Shelley <r...@12gaugemedia.com>
Subject Re: Prefix Paths on Servlets
Date Mon, 13 Aug 2007 19:03:50 GMT
My apologies... I'm on Tomcat 5.5.  I'll take a look at it and give  
that a try.  Thanks Chuck!

On Aug 13, 2007, at 11:59 AM, Caldarale, Charles R wrote:

>> From: Ryan Shelley [mailto:ryan@12gaugemedia.com]
>> Subject: Prefix Paths on Servlets
>>
>> However, it's recently been requested that I add a prefix to my
>> servlet.  Now it should be http://myhost/it/idm/...
>
> Assuming you're running a reasonably modern version of Tomcat (you
> didn't bother to tell us), then place your idm.war file somewhere  
> other
> than the <Host> appBase directory (usually webapps).  Then, create a
> file in conf/Catalina/[host] named it#idm.xml containing a <Context>
> element with a docBase attribute pointing to the location of the  
> idm.war
> file.
>
> As long as you haven't hard-coded the path in the html/jsp/java  
> source,
> you should be o.k.
>
>  - 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


Mime
View raw message