Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JSP Bean

Status
Not open for further replies.

jetechie

Technical User
May 23, 2006
15
US
Is there a more efficient way of setting and getting strings from a bean than like my code below? Seems like way too much code for just setting two strings.

Thanks for any ideas.


package jspBean;
public class dimA {

//Indicator 1
String i1;
String i2;

public void setI1( String value )
{
i1 = value;
}

public void setI2( String value )
{
i2 = value;
}

public String getsetI1() { return i1; }
public String getsetI2() { return i2; }

}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top