Shouldn't these two tags be equivalent:
<bean:struts id="officeForm" formBean="officeForm"/>
<jsp:useBean id="officeForm" scope="request" class="com.tallan.odtos.web.form.OfficeForm" />
when the following is defined in struts-config.xml:
<form-beans>
  <form-bean name="officeForm" type="com.tallan.odtos.web.form.OfficeForm"/>
</form-beans>
When I use the bean:struts tag to declare a scripting variable, the officeForm variable gets created with a type of ActionFormBean instead of the type that I specified in my struts-config.xml. Using a jsp:useBean tag works but it seems like bean:struts should work too and it doesn't work for me.
 
Is that a bug or am I doing something wrong?
 
Thanks,
Hal

Reply via email to