struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From foward <fow...@gmail.com>
Subject ClassCastException com.dev.model.Form cannot be cast to java.lang.String
Date Tue, 24 Mar 2009 15:26:08 GMT

Hello,

I don't know if I m right posting here this, but I have this problem with my
webapp and I couldn't find a solution I hope you can help me please:

ERROR [httpSSLWorkerThread-8080-1] ActionComponent.executeAction(259) 
java.lang.ClassCastException: com.dev.model.Form cannot be cast to
java.lang.String
        at
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:409)
............

I did search looking for an answer but I didnt find nothing... the thing is
when I call an action method in a view:

<s:action name="createForm!getForm" id="action" namespace="default"/>
<div id="box">
<p><strong>Survey : </strong> ${form.name}</p>
<p><strong>Introduction : </strong> ${form.introduction}</p>
<p><strong>Close Date:</strong> ${form.close_date}</p>
<br/>
</div>
 
to show information about one Form.

Please if you can guide me to solve this, Thanks in advance!

Best Regards



-- 
View this message in context: http://www.nabble.com/ClassCastException-com.dev.model.Form-cannot-be-cast-to-java.lang.String-tp22682861p22682861.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message