struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukasz.len...@googlemail.com>
Subject Re: ClassCastException com.dev.model.Form cannot be cast to java.lang.String
Date Tue, 24 Mar 2009 15:50:54 GMT
2009/3/24 foward <foward@gmail.com>:
> <s:action name="createForm!getForm" id="action" namespace="default"/>

Method getForm() return object Form or String? Struts is expecting
that action will return a String not an object. I think you should
read some tutorial how to use Struts 2.


Regards
-- 
Lukasz
http://www.lenart.org.pl/

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


Mime
View raw message