File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes html:optionsCollection - failed to obtain specified collection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:optionsCollection - failed to obtain specified collection" Watch "html:optionsCollection - failed to obtain specified collection" New topic
Author

html:optionsCollection - failed to obtain specified collection

Praveena Paruchuru
Greenhorn

Joined: Dec 10, 2009
Posts: 6
hi

I am using <htmlptionsCollection property='regions' label='state' value='code'/>

In ActionForm, I have variable

private Region[] regions; and setter and getter methods for this.

In the action class I am setting the form.setRegions(regions);

Initially when theform is loading, it is displaying regions.

But when I submit the page, it is going to the action class and setting the regions, but when the page is loading it is giving error that 'failed to obtain specified colleciton".

Could anybody tell me how to solve this?

Thanks
Praveena
 
Consider Paul's rocket mass heater.
 
subject: html:optionsCollection - failed to obtain specified collection
 
Similar Threads
problem with html:optionsCollection
Dynamic drop down in struts
message resource help!!
Struts Help urgent
Problem With OptionsCollection Tag