Hi Kat ,

You Have to put th URL value in the session say NEXTURL for this 
you have to write one  JSP in which you will say 

amon.jsp 
String nextUrl = session.getValue("NEXTURL") ;
String page = session.getValue("Page") ;
response.sendRedirect(nextUrl) ;

in every jsp in the application you have to say 
String requesturl = request.getRequestURI() ;
and session.puValue("NEXTURL",requesturl );

somewhere in jsp or action class

response.redirect("amon.jsp?Page=MyPage.jsp");

which will return the complete uri to you and once you thru with the login validations 
and all then redirect to the above intermidiate.jsp 

in this way you are never redirecting to your original page always to intermediate and 
whatever session values will be there it will get redirected to that jsp page. so 
never login. This method is tested one...

abhijeet



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

Reply via email to