> -----Original Message----- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 10:54 AM > To: Struts Users Mailing List > Subject: RE: [HELP]Cannot retrieve definition for form bean null > > > Yes, I copied and pasted the code. I did not type > those code while composing my request for help message > on the struts-user forum.
Okay then you have a problem in the way your action is declared. You need to also declare the form being used with that action. See the documentation for details. > --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > > > > > -----Original Message----- > > > From: Caroline Jen [mailto:[EMAIL PROTECTED] > > > Sent: Friday, September 10, 2004 9:56 AM > > > To: [EMAIL PROTECTED] > > > Subject: [HELP]Cannot retrieve definition for form > > bean null > > > > > > > > > Hi, it is me again. > > > > > > I still have problem with displaying my JSP. This > > > time, the error message is: > > > > > > '[ServletException > > in:/frame/content/messageForm.jsp] > > > Cannot retrieve definition for form bean null' > > > > > > 1. I click on this link: > > > > > > <html:link action="/MailMessage">Send > > > Message</html:link> > > > > > > 2. the action mapping in struts-config.xml is: > > > > > > <action > > > path="/MailMessage" > > > parameter=".message.Form" > > > > > > type="org.apache.struts.actions.ForwardAction"/> > > > > You need to look here for the problem. Assuming you > > copied and pasted this. > > > > > > > > > > What am I missing this time? > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > _______________________________ > Do you Yahoo!? > Shop for Back-to-School deals on Yahoo! Shopping. > http://shopping.yahoo.com/backtoschool > > --------------------------------------------------------------------- > 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]