Thanks Yoav, I'll try that.

Regards

Jim.

> -----Original Message-----
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
> Sent: 25 July 2002 14:28
> To: Tomcat Users List
> Subject: RE: Getting Tomcat to redirect requests
> 
> 
> Howdy,
> A simple filter could do the trick.  Have do a response.sendRedirect()
> for every request.  The filter's url-pattern would be /MyApp/* where
> MyApp is the app you want to take down.  However, this 
> solution requires
> you to edit the web.xml and restart your tomcat server in order to
> deploy the filter.  
> 
> Yoav Shapira
> Millennium ChemInformatics
> 
> 
> >-----Original Message-----
> >From: Collins, Jim [mailto:[EMAIL PROTECTED]]
> >Sent: Thursday, July 25, 2002 4:09 AM
> >To: 'Tomcat Users List'
> >Subject: Getting Tomcat to redirect requests
> >
> >Hi,
> >
> >Does anyone know how I can set-up Tomcat to redirect requests to a
> >particular web-app. I have done it using Apache and iPlanet and would
> like
> >to know how to do this with Tomcat. I have a particular 
> web-app that I
> want
> >to take down for a short period and redirect any requests to this app
> to an
> >html page informing the user that the site is temporarily 
> unavailable.
> >
> >Any help would be appreciated.
> >
> >Thanks
> >
> >Jim.
> >
> >
> >PLEASE READ: The information contained in this email is confidential
> >and intended for the named recipient(s) only. If you are not an
> intended
> >recipient of this email you must not copy, distribute or take any
> >further action in reliance on it and you should delete it and notify
> the
> >sender immediately. Email is not a secure method of communication and
> >Nomura International plc cannot accept responsibility for 
> the accuracy
> >or completeness of this message or any attachment(s). Please examine
> this
> >email for virus infection, for which Nomura International plc accepts
> >no responsibility. If verification of this email is sought 
> then please
> >request a hard copy. Unless otherwise stated any views or opinions
> >presented are solely those of the author and do not 
> represent those of
> >Nomura International plc. This email is intended for informational
> >purposes only and is not a solicitation or offer to buy or sell
> >securities or related financial instruments. Nomura International plc
> is
> >regulated by the Financial Services Authority and is a member of the
> >London Stock Exchange.
> >
> >
> >
> >--
> >To unsubscribe, e-mail:   <mailto:tomcat-user-
> >[EMAIL PROTECTED]>
> >For additional commands, e-mail: <mailto:tomcat-user-
> >[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 


PLEASE READ: The information contained in this email is confidential
and intended for the named recipient(s) only. If you are not an intended
recipient of this email you must not copy, distribute or take any 
further action in reliance on it and you should delete it and notify the
sender immediately. Email is not a secure method of communication and 
Nomura International plc cannot accept responsibility for the accuracy
or completeness of this message or any attachment(s). Please examine this
email for virus infection, for which Nomura International plc accepts
no responsibility. If verification of this email is sought then please
request a hard copy. Unless otherwise stated any views or opinions
presented are solely those of the author and do not represent those of
Nomura International plc. This email is intended for informational
purposes only and is not a solicitation or offer to buy or sell
securities or related financial instruments. Nomura International plc is
regulated by the Financial Services Authority and is a member of the
London Stock Exchange.



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

Reply via email to