The exception gets thrown from the FormTag in the following code:
// Look up the form bean definition
FormBeanConfig formBeanConfig =
appConfig.findFormBeanConfig(mapping.getName());
if (formBeanConfig == null) {
JspException e = new JspException
(messages.getMessage("formTag.formBean", mapping.getName()));
pageContext.setAttribute(Action.EXCEPTION_KEY,
e, PageContext.REQUEST_SCOPE);
throw e;
}
If you look at the code, it seems like the only reason this exception is
thrown is if it can't find a FormBeanConfig with the name returned by
mapping.getName(). I would suggest that you turn your debugging levels up
high and look at the log output. It could be something as simple as a
ClassPath issue or for some reason, the framework is not able to find or
load the .class file. I'm sure that you have ruled out a typo between the
form-bean definition and the value used in the action?
You could also put a few print lines in the FormTag class and recompile.
That would for sure tell you what's going on.
Just a few thoughts,
Chuck
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>