I bet you already know this, but nevertheless: ROOT is a keyword for "/".
The URLs are http://domainname/contextname. In the case of ROOT, you don't
have a contextname in the URL. Setting the attribute of the context
"reloadable=true" helps in case you want your changes to reflect without
restarting tomcat.
Thanks,
RS
"Luc Foisy"
<[EMAIL PROTECTED] To: "Tomcat Users List"
-magic.com> <[EMAIL PROTECTED]>
cc:
03/16/2004 10:55 AM Subject: RE: Redirect from root
context to other context
Please respond to
"Tomcat Users List"
I had configured the ROOT context to have a path of /ROOT when it should be
nothing.
I still can't get the context to load without restarting the whole tomcat
server (I wont).
I can get the context to load on a secondary server with a tomcat restart..
-----Original Message-----
From: Luc Foisy
Sent: Tuesday, March 16, 2004 11:06 AM
To: Tomcat Users List
Subject: RE: Redirect from root context to other context
We had originally removed the /ROOT context. I put it back in place with
the administrator context. It has saved to the server.xml file. When I
browse to the site, it reports HTTP 500 - No context loaded.... If I add
webaddress/ROOT it returns report HTTP 503 - Servlet jsp is currently
unavailable
1. Will the /ROOT context work right after tomcat is restarted?
-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 10:54 AM
To: Tomcat Users List
Subject: RE: Redirect from root context to other context
Hi,
>What is required to redirect the root context to another context, with
a
>relative path name rather than an absolute path name?
>can I just response.sendRedirect("/webapps/othercontext/");
>Or is there additional configuration
No additional configuration, just response.sendRedirect. You don't want
the /webapps, just /othercontext/whatever.
Yoav Shapira
This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged. This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else. If you are not the(an) intended
recipient, please immediately delete this e-mail from your computer system
and notify the sender. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This transmission is intended to be strictly confidential. If you are not
the intended recipient of this message, you may not disclose, print, copy
or disseminate this information. If you have received this in error, please
reply and notify the sender (only) and delete the message. Unauthorized
interception of this e-mail is a violation of federal criminal law.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]