Hi,

I mean, you want to get a parameter as passed with original url by
query string. Am I right? You sould use this implementation:

// Get the action context from the invocation so we can access the
// HttpServletRequest and HttpServletResponse objects.
final ActionContext context = invocation.getInvocationContext();
HttpServletRequest request = (HttpServletRequest)
context.get(StrutsStatics.HTTP_REQUEST);
String param = request.getParameter("param");

Okan Özeren.

On Thu, Mar 17, 2011 at 8:48 PM, Alfredo Manuel Osorio Martinez
<alfredo.oso...@afirme.com> wrote:
> I am implementing a Login interceptor which needs to redirect to an
> action to first authenticate the user. The problem is that I want to
> send as a parameter to that action the original url, the one that the
> user was trying to get before the redirect to the login page.
>
>
>
> How can I achieve that?
>
>
>
> Thanks in advance,
>
>
>
> Alfredo Osorio
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to