> -----Original Message----- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 09, 2004 2:38 PM > To: Struts Users Mailing List > Subject: RE: Cannot find bean > org.apache.struts.taglib.html.BEAN in any > scope > > > It is really a weird error message I got. I am not > using any bean in my JSP page. > > The page I am building is a form. I am not even ready > to submit that form. Therefore, I took out the > <html:form> </html:form> tags. I just want to display > some text fields, text area in the browser for testing > purpose.
That would be it. You have to have <html:form tags in order for html:text or html:textarea to work! <html:text, <html:option and most of the rest of the <html tags depend on <html:form to grab the form bean and put it into page scope for them to work. > > I do not know why I got 'cannot find bean in any > scope'. My messageForm.jsp can be found in the > attachment. > --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > > > > > -----Original Message----- > > > From: Caroline Jen [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, September 09, 2004 2:10 PM > > > To: [EMAIL PROTECTED] > > > Subject: Cannot find bean > > org.apache.struts.taglib.html.BEAN in any > > > scope > > > > > > > > > I got this error message: > > > > > > 'Cannot find bean > > org.apache.struts.taglib.html.BEAN > > > in any scope' > > > > <snip> > > > > > > > > > > > What am I missing to get that error? > > > > The bean itself. > > Which bean? The form bean more then likely. > > Probalby a problem on the jsp page itself. > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - 50x more storage than other providers! > http://promotions.yahoo.com/new_mail > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]