You can use the same method, just ensure that you call the response.sendRedirect() before the response has been committed.
Kind Regards Schalk Neethling Web Developer.Designer.Programmer.CEO Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za This message contains information that is considered to be sensitive or confidential and may not be forwarded or diclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you. :: -----Original Message----- :: From: Dionisio Ruiz de Zarate [mailto:[EMAIL PROTECTED] :: Sent: Monday, November 17, 2003 11:39 AM :: To: [EMAIL PROTECTED] :: Subject: redirect from one servlet to one jsp page :: :: In one servlet ihave this: :: public HttpSession userSession; :: :: if(!userSession.getAttribute("loginStatus").equals("OK")){ :: //redirection :: } :: :: my problem is howcan i redirect from one servlet to one jsp page if the :: loginStatus attribute isnot equals to OK. :: :: from one jsp page to other jsp page i make: :: response.sendRedirect ("destinationjsppage.jsp"); :: :: but fromone servlet? :: :: thanks :: :: :: --------------------------------------------------------------------- :: 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]