tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prashantha H <pac...@gmail.com>
Subject Re: Can Tomcat context path be multilevel
Date Wed, 09 Dec 2009 19:05:28 GMT
    Hi All,

    I have an application which needs to be deployed and accessed with
multilevel context path in the url.
    So I have updated the TOMCAT_HOME/Conf/Server.xml with an appropriate
entry for this.

    For Example:
    If my application name is Doc.war and I want it to be accessed using
multilevel context path dco/smartfolder. (
http://localhost:8080/dco/smartfolder/....)

    I have made the below entry in the Conf/Server.xml file.
    <Context path="/dco/smartfolder/" docBase="Doc"
reloadable="true"></Context>

    When I Start my Tomcat after making the above changes, it will end up
having two deploy folders created when it explodes, Documentum and another
dco(Within which it will have smartfolder directory).

    Is there  a way we avoid creation of this multiple folders when it gets
deployed and still be able to be access the application using the multilevel
context path?

    I have verified this in both 5.5 and 6.0.18 version of Tomcat and the
behavior is same.

    Any help is appreciated.

    Thanks,
    Prash
o

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message