package code;
import org.apache.struts.action.ActionForm;

public class LoginForm extends ActionForm
{
   private String login;
   private String password;
   public String getLogin() {
       return login;
   }
   public void setLogin(String login) {
       this.login = login;
   }
   public String getPassword() {
       return password;
   }
   public void setPassword(String password) {
       this.password = password;
   }
}

On 9/7/06, Tom Jerry <[EMAIL PROTECTED]> wrote:

I am certain that my code.LoginForm class extends
org.apache.struts.action.ActionForm


On 9/7/06, Tom Jerry <[EMAIL PROTECTED]> wrote:
>
> I am using Struts 1.2.9
>
>
> On 9/7/06, David Friedman < [EMAIL PROTECTED]> wrote:
> >
> > Are you certain your code.LoginForm class extends
> > org.apache.struts.action.ActionForm? That could
> > asily explain the problem.
> >
> > Then again you could get an exact reason by
> > naming the specific Struts 1.2.X version you
> > are using (it doesn't appear to be 1.2.7).
> > Then you could check the svn tag for class
> > org.apache.struts.config.FormBeanConfig
> > line 212 which is ithe method createActionForm
> > as described in your SEVERE stack trace below.
> > I'll be up for another hour in case you're
> > still up and have the exact version for me
> > to lookup in SVN (takes a minute, if that).
> >
> > Regards,
> > David
> >
> > -----Original Message-----
> > From: Tom Jerry [mailto: [EMAIL PROTECTED]
> > Sent: Thursday, September 07, 2006 1:33 AM
> > Cc: Struts Users Mailing List
> > Subject: Re: exception
> >
> > This is the entire stack....
> >
> > SEVERE: Error creating form bean of class code.LoginForm
> > java.lang.NullPointerException
> >     at org.apache.struts.config.FormBeanConfig.createActionForm(
> > FormBeanConfig.java:212)
> >     at org.apache.struts.util.RequestUtils.createActionForm(
> > RequestUtils.java :292)
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

Reply via email to