Two Laptop Bag
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

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.


SCJP 1.4
Sami Kosonen

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:
subject: My html:select is giving exception
It's not a secret anymore!