troubleshooting Question

Using <html:multibox> struts error: org.apache.struts.taglib.html.BEAN does not view

Avatar of Rosscowie
Rosscowie asked on
JSPJava EE
1 Comment1 Solution823 ViewsLast Modified:
hi,

i am trying to create a number of checkboxes at the and of rows of data to allow you to select a number of rows and then hit a submit button that will call an action. When the <html:multibox> tag is used the page doesnot load and give the error:

"Cannot find bean under name org.apache.struts.taglib.html.BEAN "
here is my code:
JSP:-

<c:choose>
   <c:when test="${pageObject.surveyId == '104'}">
      <html:multibox property="resultId">
          <c:out value="${pageObject.id}"/>
      </html:multibox>
   </c:when>
</c:choose>

which is enclosed in a form calling allocateResource.do with a submit button.

ACTION FORM:-
public class AllocateResultsForm extends ActionForm {
      private String[] resultId ={};
     
       public String[] getResultId() {
      return resultId;
       }

       public void setResultId(String[] strings) {
              resultId = strings;
       }

}

Thanks for you help in advance.


ASKER CERTIFIED SOLUTION
evnafets

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros