jQuery in Action, 2nd edition*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: My html:select is giving exception
 
Similar Threads
My html:select is not working
html:select vanishing values
How to populate a drop down box built with Struts html tag dynamically with the iterator
Populate values from request in Struts 1
Using jQuery + JSON + Struts to populate select options