I don't think you can even do it that way. It's easier to just access
the parameter map from the ActionInvocation and ActionContext in the
interceptor.

http://www.opensymphony.com/xwork/api/com/opensymphony/xwork2/interceptor/Interceptor.html#intercept(com.opensymphony.xwork2.ActionInvocation)
http://www.opensymphony.com/xwork/api/com/opensymphony/xwork2/ActionInvocation.html#getInvocationContext()
http://www.opensymphony.com/xwork/api/com/opensymphony/xwork2/ActionContext.html#getParameters()

Nils-H


On Tue, Mar 4, 2008 at 7:53 PM, xianwinwin <[EMAIL PROTECTED]> wrote:
>
>  Hi all,
>
>  I'm trying to create an AuthorizationInterceptor.
>
>  consider the following scenario: The user clicks on any link and the the
>  link has resourceID
>
>  eg: doSomthig_update.do?resourceID=44
>
>
>  I would like to transfer the resouceID to my interceptor in order to verify
>  if the user is entitle to view resourceID=44.
>
>
>  http://www.nabble.com/file/p15834496/2003747819598530439_fs.jpg
>
>
>  THANKS for any pointers!
>  --
>  View this message in context: 
> http://www.nabble.com/howto-%27transfer%27-a-URL-parameter-to-an-interceptor-%28eg-resourceID%3D44%29-pic-included-tp15834496p15834496.html
>  Sent from the Struts - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to