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 My html:select is giving exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "My html:select is giving exception" Watch "My html:select is giving exception" New topic
Author

My html:select is giving exception

surendar prabu
Ranch Hand

Joined: Jul 24, 2006
Posts: 102
I am using html:select for a drop down box.

And I load the options using a collection through html ptions name="myForm" property="myoptioncollection"

My problem is I am using same ActionForm multiple Action classes.

The options are loading normally for first request and some times one more request also.

As i make further requests I get an exception

No getter method for property myoptioncollection in the bean named.......

I get this exception, Not every time. sometimes in the middle of the application.

Why is this Exception coming.

The error is not coming for other collections. But only for the collections which load the Options of a dropdownbox.

Please help me on this.

Regards,
Surendar


SCJP 1.4
Sami Kosonen
Greenhorn

Joined: Sep 14, 2006
Posts: 13
Could you provide more details?

Did you check that you wrote the property name correctly? According to my knowledge it is case sensitive.
 
Consider Paul's rocket mass heater.
 
subject: My html:select is giving exception
 
Similar Threads
Using jQuery + JSON + Struts to populate select options
html:select vanishing values
My html:select is not working
How to populate a drop down box built with Struts html tag dynamically with the iterator
Populate values from request in Struts 1