thanks for sugesting the article.
I did implement the way you suggested.
Thanks.
From: Rick Reumann <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
To: Struts Users Mailing List <user@struts.apache.org>
Subject: Re: cannot find bean error, when cliked on submit button
Date: Tue, 17 Jan 2006 16:08:01 -0500
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]
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]