AW: Really dumb struts question...

2003-02-21 Thread Hirschmann, Bernhard

Do you also have the form tag in your JSP?

Bernhard


-Ursprüngliche Nachricht-
Von: Loren J. Erickson [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 21. Februar 2003 08:59
An: [EMAIL PROTECTED]
Betreff: Really dumb struts question...



Like probably thousands of others, I'm trying to write a simple portal 
using Struts 1.0.2.  I'm getting the following error that I can't figure 
out.  

org.apache.jasper.JasperException: No bean found under attribute key 
registerForm

I've also included a snippet from my struts-config.xml.  Seems like the 
form names match to me.  Am I missing something?

[SNIP]

  form-beans
  
form-bean  name=registerForm
type=com.fmr.fpc.struts.RegisterForm/

  /form-beans

[SNIP]

  action-mappings

actionpath=/Register
   type=com.fmr.fpc.struts.RegisterAction
   name=registerForm
   scope=request
   input=/Register.jsp
/action

 /action-mappings

[SNIP]


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




AW: Really dumb struts question...

2003-02-21 Thread Hirschmann, Bernhard

You have in your struts-config.xml:

actionpath=/ominterfaceinfo
   type=wigadmin.struts.action.OMInterfaceInfoAction
  attribute=WIGAdminWizardForm
  scope=session
   validate=true
  forward name=success  path=/tpinterfaceinfo.jsp/
/action

attribute is wrong for the form, as far as I know. 
Use name instead:


actionpath=/ominterfaceinfo
   type=wigadmin.struts.action.OMInterfaceInfoAction
   name=WIGAdminWizardForm
  scope=session
   validate=true
  forward name=success  path=/tpinterfaceinfo.jsp/
/action


I hope that helps...

Bernhard



-Ursprüngliche Nachricht-
Von: Chetan Sahasrabudhe [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 21. Februar 2003 10:13
An: Hirschmann, Bernhard
Betreff: Re: Really dumb struts question...


have sent u a new mail with both the files, I am looking in this bug for
last 4 hours and now I am stuck ..cant think anymore.

this mail too has attachment of the same files

Chetan
- Original Message -
From: Hirschmann, Bernhard [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 2:36 PM
Subject: AW: Really dumb struts question...



 You missed to attach the JSP. At least, I can't find it...

 Bernhard

 -Ursprüngliche Nachricht-
 Von: Chetan Sahasrabudhe [mailto:[EMAIL PROTECTED]]
 Gesendet: Freitag, 21. Februar 2003 10:03
 An: Struts Users Mailing List
 Betreff: Re: Really dumb struts question...


 Bernhard

 I am facing same problem and still getting the error saying
 Cannot retrieve definition for form bean null

 attached is my jsp and struts-config.xml, can u check the goofup I am
doing

 one question, do we have to add struts package which is in webapps in
 classpath ?



 - Original Message -
 From: Hirschmann, Bernhard [EMAIL PROTECTED]
 To: 'Struts Users Mailing List' [EMAIL PROTECTED]
 Sent: Friday, February 21, 2003 2:23 PM
 Subject: AW: Really dumb struts question...


 
  Do you also have the form tag in your JSP?
 
  Bernhard
 
 
  -Ursprüngliche Nachricht-
  Von: Loren J. Erickson [mailto:[EMAIL PROTECTED]]
  Gesendet: Freitag, 21. Februar 2003 08:59
  An: [EMAIL PROTECTED]
  Betreff: Really dumb struts question...
 
 
 
  Like probably thousands of others, I'm trying to write a simple portal
  using Struts 1.0.2.  I'm getting the following error that I can't figure
  out.
 
  org.apache.jasper.JasperException: No bean found under attribute key
  registerForm
 
  I've also included a snippet from my struts-config.xml.  Seems like the
  form names match to me.  Am I missing something?
 
  [SNIP]
 
form-beans
 
  form-bean  name=registerForm
  type=com.fmr.fpc.struts.RegisterForm/
 
/form-beans
 
  [SNIP]
 
action-mappings
 
  actionpath=/Register
 type=com.fmr.fpc.struts.RegisterAction
 name=registerForm
 scope=request
 input=/Register.jsp
  /action
 
   /action-mappings
 
  [SNIP]
 
 
  -
  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]