4.6.Example on FormBean Class
package p1;
public class RegisterForm extends org.apache.struts.action.ActionForm
{
String uname,pwd; //FormBean properties
public void setUname(String un)
{
uname = un;
}
public string getName()
{
return uname;
}
public void setPwd(String pass)
{
pwd=pass;
}
public String getPwd()
{
return pwd;
}
}