tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Worley Brent - bworle <>
Subject SECOND TRY: Redirection and Context Question
Date Thu, 08 Jul 2004 20:41:03 GMT
I'm trying to do a redirection using Javascript on Tomcat 5.0.24
(standalone, no apache server).

The code redirects index.html to login.htm.  Here is what I have:

<script language="JavaScript">

When I do this, it appears to go into a near-endless loop of contacting the
server and attempting the redirect.  Is there a problem with Tomcat doing

Also, I'm attempting to deploy an app named SIT.war into the root context.
My original context.xml contained this at the top:

<Context path="/SIT" docBase="SIT"
         debug="0" reloadable="true" crossContext="true">

To get it to take over the root context, I tried this:

<Context path="" docBase="SIT.war"
         debug="0" reloadable="true" crossContext="true">

However, when I did this, I lost all of my environment and resource params
listings (it could not locate the resources I defined).  Is there something
I'm missing that I need to define?

Brent Worley

The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication is strictly
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message