It's not a secret anymore!*
The moose likes Struts and the fly likes Having problems using optionscollection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Having problems using optionscollection " Watch "Having problems using optionscollection " New topic
Author

Having problems using optionscollection

howard franklin
Greenhorn

Joined: Sep 09, 2012
Posts: 20
Can not figure this out.. I keep getting the following error.

[ServletException in:/SelectListTest.jsp] javax.servlet.jsp.JspException: Cannot find bean streetlist in any scope'

At the moment my action is called. (com.info.SelectListAction) I would think that this is populated.

Is there anything else that I should be looking at. Was able to make the example work. I am trying to incorporate what I did there
and I am not having any success.


struts-config.xml





SelectListTest.jsp




SelectListAction.java




StreetListData.java



SelectForm

howard franklin
Greenhorn

Joined: Sep 09, 2012
Posts: 20
I was able to figure it out

info from struts config










 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Having problems using optionscollection
 
Similar Threads
No getter method for property
how do i use html:select to forward to different pages?
javax.servlet.jsp.JspException: No getter method for property: "id" of bean: "Login.LoginForm"
Cannot find bean in any scope
Action[/demo] does not contain method named edit