Thanks Deepak.. It worked..
deepaksawdekar wrote: > Action attribute in form tag will be missing. if its the requirement, added the name > attribute to all the <html:XXXX> tags. > > Deepak. > > -----Original Message----- > From: Ritvik [mailto:[EMAIL PROTECTED] > Sent: Friday, September 12, 2003 8:08 PM > To: [EMAIL PROTECTED] > Subject: Error:Cannot find bean org.apache.struts.taglib.html.BEAN in > any Scope > > Hi There, > > I am following the book 'Struts In Action' books and trying to build the > > Sample Logon Application from first few chapters. I was able to display > Welcome page (Welcome.do) and when i click on 'Sign In' link, I am > getting the following error? Please also review the configurations added > > to struts-config file. Why does 'logonForm' bean being created? > > javax.servlet.jsp.JspException: Cannot find bean > org.apache.struts.taglib.html.BEAN in any > > scope > at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:714) > at > org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:193) > > at org.apache.jsp.Logon$jsp._jspService(Logon$jsp.java:116) > > -- Welcome.jsp code snippet -- > > <li><html:link forward="logon">Sign in</html:link></li> > > <form-bean > name="logonForm" > type="app.view.LogonForm"/> > </form-beans> > > <global-forwards> > <forward > name="logon" > path="/Logon.do"/> > > <action > path="/Logon" > type="org.apache.struts.actions.ForwardAction" > parameter="/pages/Logon.jsp"/> > > thanks, > Ritvik > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]