I am using Struts 2. I get this error whenever I turn on validation. The struts automatically returns the input page.
07:42:11,349 INFO [STDOUT] 07:42:11,349 ERROR [ParametersInterceptor] ParametersInterceptor - [setParameters]: Unexpected Exception catched: Error setting expression 'name' with value '[Ljava.lang.String;@188e507' There are several parameters that are being passed in to the action. It is only failing in this one. I have changed the name of the parameter. But the problem persists with that name. struts.xml action config includes this interceptor: <interceptor-ref name="paramsPrepareParamsStack"/> If I remove the validation xml the problem goes away. But then I have lost validation. If I remove 'name' from the validation in the xml the problem is still there. That is, even if there is no mention of the 'name' parameter in the validation xml, I still get the error. I have other Actions that are configured the exact same way and work just fine. I have tried rebuilding from scratch. No fix there. It looks like somehow there is are two 'name' parameters being sent in. So struts is handling it with an array. To ensure this is struts I have sent requests to the server by pasting the url in the browser with only one name paramater. I still get the error. I feel like I have done everything but the one thing that will work. grrrr! Any ideas?