You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Hoying, Ken" <Ke...@PremierInc.com> on 2007/08/27 18:59:41 UTC

[S2] Struts Tokens and ParametersInterceptor Question

I am using the Sruts2 token tag with the token interceptor to restrict
double submits of a page.  It appears to be working.  However, I am
getting the following in my log.  Do I not have something configured
correctly?


[2007-08-27 11:27:49,565] [ERROR] [anjone              ]
[erceptor.ParametersInterceptor]: ParametersInterceptor -
[setParameters]: Unexpected Exception catched: Error setting expression
'struts.token' with value '[Ljava.lang.String;@1108a83'
[2007-08-27 11:27:49,612] [ERROR] [anjone              ]
[erceptor.ParametersInterceptor]: ParametersInterceptor -
[setParameters]: Unexpected Exception catched: Error setting expression
'struts.token.name' with value '[Ljava.lang.String;@f5d665'



-----------------------------------------
***Note:The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify the Sender
immediately by replying to the message and deleting it from your
computer. Thank you. Premier Inc.  

Re: [S2] Struts Tokens and ParametersInterceptor Question

Posted by Laurie Harper <la...@holoweb.net>.
Is this with devMode set to true? ParametersInterceptor produces a lot 
of spurious errors with devMode switched on. Try setting it to false in 
your struts.xml (or struts.properties).

L.

Hoying, Ken wrote:
> I am using the Sruts2 token tag with the token interceptor to restrict
> double submits of a page.  It appears to be working.  However, I am
> getting the following in my log.  Do I not have something configured
> correctly?
> 
> 
> [2007-08-27 11:27:49,565] [ERROR] [anjone              ]
> [erceptor.ParametersInterceptor]: ParametersInterceptor -
> [setParameters]: Unexpected Exception catched: Error setting expression
> 'struts.token' with value '[Ljava.lang.String;@1108a83'
> [2007-08-27 11:27:49,612] [ERROR] [anjone              ]
> [erceptor.ParametersInterceptor]: ParametersInterceptor -
> [setParameters]: Unexpected Exception catched: Error setting expression
> 'struts.token.name' with value '[Ljava.lang.String;@f5d665'
> 
> 
> 
> -----------------------------------------
> ***Note:The information contained in this message may be privileged
> and confidential and protected from disclosure. If the reader of
> this message is not the intended recipient, or an employee or agent
> responsible for delivering this message to the intended recipient,
> you are hereby notified that any dissemination, distribution or
> copying of this communication is strictly prohibited. If you have
> received this communication in error, please notify the Sender
> immediately by replying to the message and deleting it from your
> computer. Thank you. Premier Inc.  


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