This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi GURUs: I am doing a drop down box with Struts, and I have seen previous post on the forum regarding how to do that.
Basically I have 2 classes InquiryAction and InquiryResult.jsp
here is the code snippet from InquriyAction
and here is where I do the population of the drop down box in my JSP code
However when i test the JSP page on my local app server, i got the following error:
javax.servlet.jsp.JspException: Cannot find bean under name org.apache.struts.taglib.html.BEAN at org.apache.struts.taglib.html.SelectTag.calculateMatchValues(SelectTag.java:301) at org.apache.struts.taglib.html.SelectTag.doStartTag(SelectTag.java:244) at jsp_servlet.__inquiryresults._jspService(__inquiryresults.java:544)
I did bind the "inquiryResults" with an arrayList, can somebody tell me what is wrong? thanks...