Hi,

I have an ExecuteTest action which returns a view. The action also sets up
some beans that the view will use to display data to the user. The view also
contains a form. Everything works when I go to the action, which shows me
the view. The page contains the data from the beans and the textbox inside
the form tag. If I enter valid data into the texbox and hit submit,
everything works great. But if I leave the textbox empty or type in invalid
data, I should get back error messages from the validate method of the form.
But instead I get a HTTP 500 error message saying Cannot find bean in any
scope. I see why I get this error message, but I can't seem to fix it.

How can I have that bean be set again if the validation fails? This seems
like a common issue, but did not find anything using google. Thanks in
advance.

Regards,
Amrinder

Reply via email to