Hi,
The default context is just the one whose path is "" (the empty string).
It's not the one whose path is /IBS1 or anything except "".  What you're
asking for is not to change the default context, but to do a redirect
from the context whose path is "" to the one whose path is "/IBS1".
This distinction is important.

You can accomplish this behavior in several ways, including:
- A simple index.html file in the ROOT context that does a meta-refresh
to /IBS1
- A filter in the ROOT context that does a response.sendRedirect to
/IBS1.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, March 31, 2004 12:12 AM
>To: [EMAIL PROTECTED]
>Subject: Change default Context
>
>
>
>
>
>Hi,
>I need to change the default context that is used by Tomcat 5 from
"ROOT"
>to IBS1. i.e when I type http://localhost it should go to
>http://localhost/IBS1. Any ideas where to modify this?
>
>Thank you,
>Best Regards,
>Uma
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




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]

Reply via email to