This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
basically , i figured out that it is the <html:select> tags that are giving me problems, and in his reply to my post, Marc Peabody said that error means that the ActionForm being referenced (in this case it defaults to the ActionForm defined in your struts-config ActionMapping because the name attribute was not specified) cannot be found."
here is a section from my struts-config.xml
I do have a "name " attribute though...can somebody please tell me what went wrong?
Just a question,DO I HAVE TO HAVE A <html:form> tags
It's usually a good idea.
You MIGHT be able to get around it by: 1) Use regular html form tags <form action="context/myAction.do"> (This assumes you want to actually SUBMIT your form. You might be able to leave this out if your drop-down box was for display purposes only.) 2) define the name attribute in the html:select tag to point to a bean with the corresponding property, otherwise it will look for one in the html:form as the default... which does not exist
Warning: Do not try this at home! I accept no responsibility for any ulcers developed in the process of following the above procedure.