Hi all!
i am having a problem with my application and i cant find the reason!
i am using
jsp and
struts,and in my jsp register page i have a select dropdown list which is filled with values from my database.for this reason,in the action which links to that page i have used request.setAttribute("myList",myList).the values are shown correctly in dropdown lists but when submit button is selected,then i get the following message:
Cannot find bean: "myList" in any scope
at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
at org.apache.jsp.user.register_jsp._jspService(register_jsp.java:706)....
does anyone know what might be the reason for that?
it also appears when i put in select the attribute scope="request"(well then its a bit different as it says cannot find bean "myList" in scope request!)am i missing something?
any help appreciated!