RE: New to Struts and stuck already...

2002-01-09 Thread Mike Ashamalla

Kevin,

I'm also relatively new to struts, however, this looks like something I've
encountered before.  I saw the same (or a similar error message) whenever my
form tags weren't properly enclosed in 
... .

HTH

Thank You,


Mike Ashamalla, CEBS
VistaXtreme
[EMAIL PROTECTED]

-Original Message-
From: Luis M. Rosso [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 09, 2002 11:02 AM
To: Struts Users Mailing List
Subject: Re: New to Struts and stuck already...


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:
> >
> > 
> >   ...
> >   
> >  > type="com.codemonkey.struts.RegistrationForm"/>
> >   
> >   ...
> > 
> >
> > 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]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: New to Struts and stuck already...

2002-01-09 Thread Luis M. Rosso

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:
> >
> > 
> >   ...
> >   
> >  > type="com.codemonkey.struts.RegistrationForm"/>
> >   
> >   ...
> > 
> >
> > 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]>




Re: New to Struts and stuck already...

2002-01-09 Thread Keith Bacon

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:
>  
> 
>   ...
>   
>  type="com.codemonkey.struts.RegistrationForm"/>
>   
>   ...
> 
>  
> 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:   
For additional commands, e-mail: 




New to Struts and stuck already...

2002-01-09 Thread Kevin J. Turner

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:
 

  ...
  

  
  ...

 
Any suggestions anyone?
 
Kevin J Turner