Kevin, first of all, please take into account I am new to Struts too...

Your mail doesn't include enough information, hence I don't know whether the
issues not mentioned in your mail are absent just in your mail or absent in
your application...

For instance, in the struts-config.xml file depicted, there is no "action"
tag, which should be there if you want to use a form bean. Furthermore, that
tag should include several attributes, i.e., "name", "path", "scope", etc..
And take care they match the features of the form bean, and to use the right
"scope": as far as I understand it, it is the one assigned to the form bean.

Hope this helps

Luis

----- Original Message -----
From: "Keith Bacon" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, January 09, 2002 11:38 AM
Subject: Re: New to Struts and stuck already...


> welcome to struts,
> I'd need more info - more of the error stack trace.
> Also maybe the struts-config entry for the action class involved.
>
> If this is from your jsp maybe it refers to the form bean but you've
started the jsp directly
> (localhost:8080/myapp/myJsp.jsp) rather than through the action mapping
> (localhost:8080/myapp/myJsp.do)
> Keith.
> PS struts is a wee bit painful at 1st but you'll soon get the hang of it
>
>
>
>
>
> --- "Kevin J. Turner" <[EMAIL PROTECTED]> wrote:
> > I am trying to build a simple Struts app to play around with it and i'm
> > stuck on the following error message:
> >
> > javax.servlet.ServletException: No bean found under attribute key
> > registrationForm
> >
> > I have the following in my struts-config.xml file:
> >
> > <struts-config>
> >   ...
> >   <form-beans>
> >     <form-bean name="registrationForm"
> > type="com.codemonkey.struts.RegistrationForm"/>
> >   </form-beans>
> >   ...
> > <struts-config>
> >
> > Any suggestions anyone?
> >
> > Kevin J Turner
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
>
> --
> 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