You need to specify that your particular action uses a form-bean (for
example "UserFormBean").  You may be wanting to display a blank form to the
user, but as the jsp is rendering that form, it needs to check the fields of
UserFormBean to display it's content (which could be null or empty in your
case).  You would specify the action to submit to in the html:form tag.
Struts will then use the form-bean that you specified (which happens to be
the same..."UserFormBean").

Does this help?


--
James Mitchell
Software Developer/Struts Evangelist
http://www.struts-atlanta.org


----- Original Message -----
From: "Sloan Bowman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 11, 2003 11:25 AM
Subject: <html:text Error?...


> When I am creating a form text field with <html:text property="username"/>
> I get the following error message. I wasn't aware I was supossed to be
> using a bean yet. I thought you put the bean in the submitted Action.
>
>
> Cannot find bean org.apache.struts.taglib.html.BEAN in any scope
>
> I am developing on Tomcat 4.1.18 and Struts 1.1.rc1. Thanks for your help.
>
>
> --Sloan
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to