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 Fri, 06 Apr 2007 10:43:56 GMT
--- meeboo <> wrote:
> One last question regarding this. As I beforehand
> don't know where to redirect the user after the
> action I will have to implement the
> ServletResponseAware interface and then use the
> HttpServletResponse for this. This seems like an
> way to redirect the user, are there other ways

As someone else mentioned if you are using an
interface to set the original URL (like void
setOriginalUrl(String) & String getOriginalUrl()) then
you can map a redirect in your action's config, more
or less like the following:

<result type="redirect">${originalUrl}</result>

That was a day or two ago; I don't have a reference to
it handy and I don't recall who the poster was.


It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.

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

View raw message