You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Chris Pat <cp...@yahoo.com> on 2005/10/29 17:17:55 UTC

multibox error

Hello 
I am using TC5.5.9,JSTL1.1,Struts1.2 With this code:
<table width="476" height="110" border="1">
  <tr>
    <td>&nbsp;</td>
    <td><html:multibox property="strArray"
value="Value1"/></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
I have made sure my actionForm has the s/getter for
checkbox1, checkbox2 & strArray.  Made sure the reset
is setting the booleans to false. The page comes up
without the html:multibox tag, so everything else is
correct.  Except for the error below.  It seems like a
tag library issue.  Any and all insight welcomed. 
tia.


I am getting 
javax.servlet.ServletException: Cannot find bean under
name org.apache.struts.taglib.html.BEAN

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)

org.apache.jsp.jsp2_jsp._jspService(org.apache.jsp.jsp2_jsp:107)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause javax.servlet.jsp.JspException: Cannot find
bean under name org.apache.struts.taglib.html.BEAN

org.apache.struts.taglib.html.MultiboxTag.doEndTag(MultiboxTag.java:195)

org.apache.jsp.jsp2_jsp._jspx_meth_html_multibox_0(org.apache.jsp.jsp2_jsp:125)
 org.apache.jsp.jsp2_jsp._jspService(org.apache.jsp.jsp2_jsp:88)


		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: multibox error

Posted by Laurie Harper <la...@holoweb.net>.
Is that table inside a html:form?

Chris Pat wrote:
> Hello 
> I am using TC5.5.9,JSTL1.1,Struts1.2 With this code:
> <table width="476" height="110" border="1">
>   <tr>
>     <td>&nbsp;</td>
>     <td><html:multibox property="strArray"
> value="Value1"/></td>
>     <td>&nbsp;</td>
>   </tr>
>   <tr>
>     <td>&nbsp;</td>
>     <td>&nbsp;</td>
>     <td>&nbsp;</td>
>   </tr>
> </table>
> I have made sure my actionForm has the s/getter for
> checkbox1, checkbox2 & strArray.  Made sure the reset
> is setting the booleans to false. The page comes up
> without the html:multibox tag, so everything else is
> correct.  Except for the error below.  It seems like a
> tag library issue.  Any and all insight welcomed. 
> tia.
> 
> 
> I am getting 
> javax.servlet.ServletException: Cannot find bean under
> name org.apache.struts.taglib.html.BEAN
> 
> org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
> 
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
> 
> org.apache.jsp.jsp2_jsp._jspService(org.apache.jsp.jsp2_jsp:107)
> 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
> 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
> 
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> root cause javax.servlet.jsp.JspException: Cannot find
> bean under name org.apache.struts.taglib.html.BEAN
> 
> org.apache.struts.taglib.html.MultiboxTag.doEndTag(MultiboxTag.java:195)
> 
> org.apache.jsp.jsp2_jsp._jspx_meth_html_multibox_0(org.apache.jsp.jsp2_jsp:125)
>  org.apache.jsp.jsp2_jsp._jspService(org.apache.jsp.jsp2_jsp:88)
> 
> 
> 		
> __________________________________ 
> Start your day with Yahoo! - Make it your home page! 
> http://www.yahoo.com/r/hs


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: multibox error

Posted by Deepa Khetan <de...@gmail.com>.
is your form mapping correct in struts-config???


 On 10/29/05, Chris Pat <cp...@yahoo.com> wrote:
>
> Hello
> I am using TC5.5.9,JSTL1.1,Struts1.2 With this code:
> <table width="476" height="110" border="1">
> <tr>
> <td></td>
> <td><html:multibox property="strArray"
> value="Value1"/></td>
> <td></td>
> </tr>
> <tr>
> <td></td>
> <td></td>
> <td></td>
> </tr>
> </table>
> I have made sure my actionForm has the s/getter for
> checkbox1, checkbox2 & strArray. Made sure the reset
> is setting the booleans to false. The page comes up
> without the html:multibox tag, so everything else is
> correct. Except for the error below. It seems like a
> tag library issue. Any and all insight welcomed.
> tia.
>
>
> I am getting
> javax.servlet.ServletException: Cannot find bean under
> name org.apache.struts.taglib.html.BEAN
>
> org.apache.jasper.runtime.PageContextImpl.doHandlePageException(
> PageContextImpl.java:848)
>
> org.apache.jasper.runtime.PageContextImpl.handlePageException(
> PageContextImpl.java:781)
>
> org.apache.jsp.jsp2_jsp._jspService(org.apache.jsp.jsp2_jsp:107)
>
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java
> :322)
>
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
>
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> root cause javax.servlet.jsp.JspException: Cannot find
> bean under name org.apache.struts.taglib.html.BEAN
>
> org.apache.struts.taglib.html.MultiboxTag.doEndTag(MultiboxTag.java:195)
>
> org.apache.jsp.jsp2_jsp._jspx_meth_html_multibox_0(
> org.apache.jsp.jsp2_jsp:125)
> org.apache.jsp.jsp2_jsp._jspService(org.apache.jsp.jsp2_jsp:88)
>
>
>
> __________________________________
> Start your day with Yahoo! - Make it your home page!
> http://www.yahoo.com/r/hs
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>