struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: resume after login feature
Date Thu, 05 Apr 2007 15:32:52 GMT
--- meeboo <> wrote:
> Gotcha Dave... now all I need is clean URL:s before
> I can actually consider using this damned framework 

Clean URLs?

FYI, the source for
shows how to access the request, from which you can
grab the original URL to pass to your login action.

if (action instanceof ServletRequestAware) {
    HttpServletRequest request = 

...but obviously you'd want to build up the URL and
use something like (pseudo-config):

<action name="login" type="...">
  <result type="redirect">${originalUrl}</result>


Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message