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]

Reply via email to