It sounds like you may have a List on your Form - indicating that you're using
indexed properties.  If so, you need to have a setCollection(int index, Object
form) in your Form.

Matt

--- Jason Lanpher <[EMAIL PROTECTED]> wrote:
> Hi everyone,
> 
>      I was wondering if anyone has a working code example that 
> demonstrates how to pre-populate an html form with data using an 
> ActionForm Bean and then getting the data entered in the form once the 
> user clicks on the submit button.
> 
> I am asking because I've set up an example that pre-populates an 
> ActionForm Bean with values which are in turn displayed in an html 
> form in the view(i.e. jsp page) but when I click the submit buttion I 
> get the following Exception:
> 
> org.apache.jasper.JasperException: Failed to obtain specified 
> collection
> 
> And I just don't know what could be causing the error.  Some 
> additional notes about my application: I am using the same ActionForm 
> Bean to both pre-populate the view with data and to recieve data from 
> the view. 
> 
> Any suggestions on how I can debug, resolve, or find additional 
> resources to solve my problem would be helpful and greatly appreciated.
> 
> Thanks in advance,
> 
> Jason Lanpher
> 
> http://www.stealthnetworking.com
> 
> [EMAIL PROTECTED]
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> Struts-apps mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/struts-apps
> 
> 

__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Struts-apps mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/struts-apps

Reply via email to