Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: ParametersInterceptor Error

Dariusz Wojtas

2007-03-05

Replies:

What is the type of 'field1'?
Is it's String representation passed from the form compatible with
what the data type converter expects?
I have seen problems like this for properties of type java.util.Date
and locale on the server machine different that EN. SImilar problems
with Double/Float and non default comma separator.
You may try to use custom data converters here.

regards

Dariusz Wojtas

On 3/5/07, sfali <f.syed.ali@(protected):
>
> Hi All,
>
> I have following scenario:
>
> In my Action I set my pojo bean with some values and sets this bean into
> session. On the next page I displays these values in a form by
> &lt;s:textfield name="field1" value="%{#sesssion.mypojo.field1}"/&gt;, when
> I am submitting the form
> I am geting following error:
> ERROR [com.opensymphony.xwork2.interceptor.ParametersInterceptor]
> ParametersInterceptor - [setParameters]: Unexpected Exception catched: Error
> setting expression 'field1' with value '[Ljava.lang.String;@(protected)'.
>
>
> Any Idea what is going wrong? and how to fix it. I am using Struts 2.0.6.
>
> Thanks in advance.
>
>
> Regards
>
>
> Syed Ali
>
> --
> View this message in context: http://www.nabble.com/ParametersInterceptor-Error-tf3351752.html#a9320645
> Sent from the Struts - User mailing list archive at Nabble.com.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.