On Tue, Jan 22, 2002 at 07:11:25AM -0500, Jorge Ruiz (SX) wrote:
> I am getting this error message from a jsp page:
> 
> [ServletException in:/jsp/comprobante/comDisplayForm.jsp] Cannot find bean
> org.apache.struts.taglib.html.BEAN in scope null'
did you ty all the beans u use to your 'session' ?
for example.. the formbean u use to represent your form data must be in the 
strutsconfig in the action definition.
If u want to use a bean for by example an iteration:
<logic:iterate id="cdresult" name="cdresults" property="searchResult">
then u must ty the 'cdreults' bean to your session in the actionclass:

                /* create a javabean that represents the search result */
                CdSearch cdresults = new CdSearch(((ListCDForm) form).getId());
                cdresults.startSearch();
                
                HttpSession session = request.getSession();
                session.setAttribute("cdresults", cdresults);

does this help?
> 
> And there is no org.apache.struts.taglib.html.BEAN in the javadocs (Struts
> 1.0.1)
> 
> Can anybody point me in the right direction?
> 
> Thanks
> 
> Jorge
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to