aspose 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html:optionsCollection - failed to obtain specified collection
 
Similar Threads
message resource help!!
problem with html:optionsCollection
Dynamic drop down in struts
Problem With OptionsCollection Tag
Struts Help urgent