<s:form action="save"> 
<s:textfield id="id" name="id" cssStyle="display:none"/>
Title<s:textfield label="Event Title" name="title"/> 
Date<s:textfield label="Event Date" name="date"/> Date (e.g. 24.12.2009) 
<s:submit value="Add Event" align="center"/>
</s:form>

When it is calling action setDate(Date date) method it is throwing below error 

10:34:06,841 ERROR ParametersInterceptor:204 - ParametersInterceptor - [setParam
eters]: Unexpected Exception caught setting 'date' on 'class events.EventManager
: Error setting expression 'date' with value '[Ljava.lang.String;@43042d'

I'm having follwoing interceptors in my struts.xml
<interceptors> 
<interceptor-stack name="defaultStack">
<interceptor-ref name="exception"/>
<interceptor-ref name="alias"/>
<interceptor-ref name="servlet-config"/>
<interceptor-ref name="prepare"/>
<interceptor-ref name="i18n"/>
<interceptor-ref name="chain"/>
<interceptor-ref name="debugging"/>
<interceptor-ref name="profiling"/>
<interceptor-ref name="scoped-model-driven"/>
<interceptor-ref name="model-driven"/>
<interceptor-ref name="fileUpload"/>
<interceptor-ref name="checkbox"/>
<interceptor-ref name="static-params"/>
<interceptor-ref name="params"/> 
<interceptor-ref name="conversionError"/> 
<interceptor-ref name="validation">
<param name="excludeMethods">input,back,cancel,browse</param>
</interceptor-ref>
<interceptor-ref name="workflow">
<param name="excludeMethods">input,back,cancel,browse</param>
</interceptor-ref>
</interceptor-stack>
</interceptors>


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

Reply via email to