A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
My html:select is giving exception
Joined: Jul 24, 2006
Sep 27, 2006 01:54:00
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.
Joined: Sep 14, 2006
Sep 27, 2006 02:07:00
Could you provide more details?
Did you check that you wrote the property name correctly? According to my knowledge it is case sensitive.
Have you checked out
subject: My html:select is giving exception
Populate values from request in Struts 1
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
Using jQuery + JSON + Struts to populate select options
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015