I am attempting to do this, but I am not getting the results I was wanting.


lets say I have an application called MyApp2, which I can access as
www.mycomp.com/MyApp2

(Now of course lots of things have this name in it, like the packages,
some hard coded paths in Javascript, etc)

And lets say a pointy haired boss decided that the url should now be
www.mycomp.com/MyApp

Arg!

I thought I'd only have to change the in one spot in the Web.xml, but
it seems like that is just a name (I changed it to MyApp anyway)  I
tried changing the context root to MyApp (Through Eclipse), and now I
can access it through both of the above urls!

As shown in the Tomcat Launcher in Eclipse
Before:
Path = /MyApp2
DocumentBase = MyApp2
Module = MyApp2

Currently:
Path = /MyApp
DocumentBase = MyApp2
Module = MyApp2

This is very strange to me!
I even made sure to stop the server, remove the module, and manually
delete the MyApp2 directories under Tomcat (under work and webapps).
I also cleaned and recompiled.

I now get MyApp and MyApp2 under the work directory (which saves caches i think)
and only MyApp2 under the webapps directory.

Any pointers?

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

Reply via email to