This is the very reason why ROOT is not a good idea to use for your context. If you want a default context, just add an index.html to the ROOT context to redirect to the context you want people to be at.


For instance:

http://localhost:8080/

redirects to...

http://localhost:8080/mycontext/

Within "mycontext" you can have any directory hierarchy you want without clashing with the namespaces of other registered contexts on the server (such as the Tomcat "admin" context). So, you can now have...

http://localhost:8080/mycontext/admin/


Use the root context for nothing other than docs and/or a redirect file to the context you want to have as the default on the server.


Jake

At 03:50 PM 4/4/2003 +1000, you wrote:
Hi,

I've got a link in my web site which goes to
http://localhost:8080/admin/adminlistcompanies.jsp. Everytime I click on
this link, it goes to the Tomcat web server administration tool login page.

Is there a way I can disable this so that it goes to the correct URL? All my
files are in webapps/ROOT.

Thanks.

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

Reply via email to