Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Servlet Interest »

Re: [NEWBIE] TomCat 5.x webapps\ROOT

Daniel Joshua

2004-07-30

Replies:

Hi all,

I am still looking for a solution for this. Thanks!


Regards,
Daniel


-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:SERVLET-INTEREST@(protected)
Daniel Joshua
Sent: Tuesday, 27 July, 2004 5:03 PM
To: SERVLET-INTEREST@(protected)
Subject: [NEWBIE] TomCat 5.x webapps\ROOT


Hi,

I am using TomCat 5.0.16 and would like to set my root context to my web
app.

Currently it defaults to \webapps\ROOT which displays the TomCat
examples/docs/etc.
How do I make it so that when I enter my web server IP without a context
root,
it defaults to my webapp (without copying my webapp to ROOT).

I read in the help that I need to set the below, but I am not sure how to.

In \conf\server.xml:

    <!-- Define properties for each web application. This is only
needed
        if you want to set non-default properties, or have web
application
        document roots in places other than the virtual host's appBase
        directory. -->

    <!-- Tomcat Root Context -->
    <!--
      <Context path="" docBase="ROOT" debug="0">
    -->

Thanks.


Regards,
Daniel

___________________________________________________________________________
To unsubscribe, send email to listserv@(protected)
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to listserv@(protected)
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
©2008 junlu.com - Jax Systems, LLC, U.S.A.