Hi Everyone,
I am having a problem trying to submit my
JSP. It causes an Exception
javax.servlet.ServletException: BeanUtils.populate
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:469)
org.apache.struts.chain.commands.servlet.PopulateActionForm.populate(PopulateActionForm.java:50)
java.lang.IllegalArgumentException: No bean specified
org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor(PropertyUtilsBean.java:751)
My JSP looks like this:
And here is my form. My form has a Data Bean Attribute
My field StripMap references a POJO class.
Basically I'm trying to display a table with checkbox in it and during the first time that my JSP load, everything went fine and it displays what I have expected. The problem is when I am submitting the form, it causes the exception.
My Mainform is in request scope. I have read the
Struts FAQ regarding changing my object into
STRING but I dont know how will I implement such. Is it not advisable to use Bean Object into ActionForm and should I just place all my StripMap property directly into the actionform?
Thanks for the help..