While looking for the reason of the error message I'm getting, I saw in the
source code of TagForm.java:
line 644:
Wouldn't it be better to change the order from
if (bean instanceof ActionForm) {
((ActionForm) bean).reset
(mapping, (HttpServletRequest) pageContext.getRequest());
}
if (bean == null) {
throw new JspException
(messages.getMessage("formTag.create", beanType));
}
to
if (bean == null) {
throw new JspException
(messages.getMessage("formTag.create", beanType));
}
if (bean instanceof ActionForm) {
((ActionForm) bean).reset
(mapping, (HttpServletRequest) pageContext.getRequest());
}
Not really important, but clearer.
Ciao
Thomas
--
To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

