fea jabi wrote the following on 1/17/2006 3:40 PM:
The JSP displayes fine with all the values in it. This JSP has required
fields in it. Used validator.xml to define al lthe required fields.
There is a Save Button which is the submit button in the JSP. When
clicked on Save want the validations to be done and be in the same JSP.
When Clicked on Save, it is not going into the DispatchFacilityAction
But getting the error in JSP
Cannot find bean under name List1 ------ This List1 was in the request
when the JSP originally displayed.
Why is this?
My guess is validation is failing and you are being returned to the page
where your List no longer is in scope. This is a classic problem when
you do not either a) use Session scope for your form or b) do not call
your form's validate method manually or c) aren't providing a way in the
reset method of your form bean to populate the request. I like solve it
with option b. More on it here:
http://www.learntechnology.net/validate-manually.do
--
Rick
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]