It appears that Struts does not allow me to use an ActionForward as the target of the <html:form action= ...>. I believe I am receiving the error because the action mapping "<action path="/Welcome" ...." does not have an ActionForm associated with it.
Is it possible to use an ActionForward as the target of an <html:form ...> statement? Is there an easy way around this?
I don't want to change the ActionForward to a full-fledged ActionMapping because it's Action class and its ActionForm would not do anything functionally.
Any suggestions would be appreciated.
Joined: Sep 02, 2004
Failing that maybe logic:redirect would be of some use?
Hope this helps!
Joined: Sep 21, 2003
I am not able to understand the reason why u r going for <html:form> with out havig a formbean attached to it and that too the strange thing is that u r using the default ForwarAction ......this forweardatcion will be used when u want a link to be tranferred to jsp and then u should not violate MVC and that too the primatry reason why u r getting that exception is <html:form> will always look for formbean attched to it to render the name attribute of ur form which is missing in urs