Hi There,

I am building the simple Logon application from the first few chapters
of 'Struts In Action' from Ted Husted. When I click on 'SignIn' link on
main welcome page (Welcome.do), I am getting the following message. I am
using html tag as Ted suggested <html : link forward ="logon"/> I have
added an action mapping for /logon.do with type "ForwardAction".. What
could possibly cause this problem?

Error:

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)

Struts Config Elements
---Form Beans ---
</form-beans>
<form-bean
            name="logonForm"
            type="app.view.LogonForm"/>
</form-beans>

--- Global Forwards ---

<global-forwards>
            <forward
     name="logon"
            path="/Logon.do"/>

----Action Mapping ---

<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]

Reply via email to