javax.servlet.jsp.JspException: Cannot retrieve definition for form bean null at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:831)
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.
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