Taavi Tiirik wrote: > You can remember the actual page the user wanted to see by storing > request URI into session variable. For example: > > session.put( "auth_requestURI", getServletRequest().getRequestURI() ); > > Once you have completed your login procedure you can forward > your user to desired page like this: > > HttpServletRequest request = getServletRequest(); > > request.getRequestDispatcher( requestURI ).forward( request, > getServletResponse() ); > > PS! Make sure that requestURI does not contain context path and does not > begin with > '/' when forwarding to another page.
It is possible to do this without using the session, and also by only using the standard redirect action as the result of your Login code (which you can also do as an action). I've done this in TSS and it works very well. /Rickard -- Rickard �berg Chief Architect, TheServerSide.com The Middleware Company _______________________________________________ Webwork-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webwork-user
