lukaz, the method getForm() return a object Form where before with the respective id is obtained and returned. Yes I m reading a book struts in action, I don't know if you recomend me a good one.
Regards Lukasz Lenart wrote: > > 2009/3/24 foward <fow...@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-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/ClassCastException-com.dev.model.Form-cannot-be-cast-to-java.lang.String-tp22682861p22683750.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org