you have 2 different tags you are implementing: form (tag) which creates a form http://struts.apache.org/2.1.6/docs/form-tag.html
action (tag) which identifies ActionClass (and possible parameters) http://struts.apache.org/2.1.6/docs/action.html did you have a question on either implementation? Martin ______________________________________________ Disclaimer and confidentiality note This message is confidential and may be privileged. If you are not the intended recipient, we kindly ask you to please inform the sender. Any unauthorised dissemination or copying hereof is prohibited. This message serves for information purposes only and shall not have any legally binding effect. Given that e-mails can easily be subject to manipulation, we can not accept any liability for the content provided. > Date: Tue, 24 Mar 2009 16:50:54 +0100 > Subject: Re: ClassCastException com.dev.model.Form cannot be cast to > java.lang.String > From: lukasz.len...@googlemail.com > To: user@struts.apache.org > > 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 > _________________________________________________________________ Internet Explorer 8 – Now Available. Faster, safer, easier. http://clk.atdmt.com/MRT/go/141323790/direct/01/