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 http://localhost/testapp

Now I want to access the same webapp using an
alternate url like: http://localhost/foo.

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

Iacopo

_________________________________________________________________
All-in-one security and maintenance for your PC. Get a free 90-day trial! http://clk.atdmt.com/MSN/go/msnnkwlo0050000002msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to