Powered by Blogger.

4.6.Example on FormBean Class

>> Friday, July 3, 2009

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;
}
}

Related Posts Plugin for WordPress, Blogger...
© javabynataraj.blogspot.com from 2009 - 2022. All rights reserved.