Re: Setting Context Path of Webapp as Root on Tomcat 5.5.3

2004-11-05 Thread Jojo Paderes
I got it to work by adding a  entry in the
$CATALINA_HOME/conf/server.xml file. I added this entry inside the
default  element:

. . .






. . .

It's working with this configuration on Tomcat 5.5.3 and 5.5.4. I can
now view the index page of my web app.

Thanks for all those who replied! :)


On Fri, 5 Nov 2004 12:48:18 -, Steve Kirk
<[EMAIL PROTECTED]> wrote:
> This was answered on this list last week.  So it's in the archive:
> http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
> pache.org
> 
> From memory I think you get rid of the ROOT webapp and set the context path
> of mywebapp to "/" ?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Setting Context Path of Webapp as Root on Tomcat 5.5.3

2004-11-05 Thread Steve Kirk
This was answered on this list last week.  So it's in the archive: 
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
pache.org 

>From memory I think you get rid of the ROOT webapp and set the context path
of mywebapp to "/" ?

> -Original Message-
> From: Jojo Paderes [mailto:[EMAIL PROTECTED] 
> Sent: Friday 05 November 2004 11:45
> To: [EMAIL PROTECTED]
> Subject: Setting Context Path of Webapp as Root on Tomcat 5.5.3
> 
> 
> Hi,
> 
> Is there a way to set a webapp to use the root context path in Tomcat
> 5.5.3. For example, I want to access by webapp named "mywebapp" by
> using this url:
> 
> http://mydomain.com/
> 
> instead of this:
> 
> http://mydomain.com/mywebapp/
> 
> In a J2EE EAR file, I can set the webapp to use the root context path
> by setting the  value to /. I'm looking for a similar
> way on WAR file deployed on Tomcat.
> 
> I was able to do this by just renaming my webapp to ROOT, but I prefer
> something else. Any suggestions?
> 
> 
> regards,
> 
> jOjO
> 
> -- 
> My Blogs http://www.jroller.com/page/jojopaderes/blog
> Pinoy Tech Scene http://pinoytechscene.mparaz.com
> PinoyJUG http://www.pinoyjug.ph
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]