I have a standalone Tomcat 5.5 and
I am not able to figure out how to map multiple url
to the same webapp without having tomcat initialize
the webapp twice.
I have an webapp deployed in webapps/testapp
This is accessible through
Now I want to access the same webapp using an
alternate url like:
I defined a new context in server.xml like:
<Context path = "/foo"
docBase = "/testapp"
debug = "0"
reloadable = "true"
crossContext= "true">
</Context>
but now I see that the webapp is initialized
twice by tomcat. How can I have only one
initialization of my webapp ?
Thanks
Frama
I am not able to figure out how to map multiple url
to the same webapp without having tomcat initialize
the webapp twice.
I have an webapp deployed in webapps/testapp
This is accessible through
Now I want to access the same webapp using an
alternate url like:
I defined a new context in server.xml like:
<Context path = "/foo"
docBase = "/testapp"
debug = "0"
reloadable = "true"
crossContext= "true">
</Context>
but now I see that the webapp is initialized
twice by tomcat. How can I have only one
initialization of my webapp ?
Thanks
Frama