consider i have this bean
private string name = "fadi";
public String getname()
{
return (name);
}
public String setName(String name1)
{
name = name1;
return (name);
}
Now I have jsp file..
<%
beanid.setname("lol");
beanid.getname();
%>
Now with this code name was fadi, i changed it into lol. Now I want to change it back to the original one. I dont want to do it by calling beanid.setname("fadi"); .. is there any other way?? thank you very much.