Calling if
843838May 20 2007 — edited May 22 2007Hi,
I have an if statement in my jsp program which fetches me the value of next button.
Vector v1991=new Vector(30);
if(request.getParameter("submitxyz")!=null)
{
x=x+10;
v1991=mb1.Sel(x);
}
for()
{
}
But this would execute only once.I want that as soon as for loop is finished,the control should go back to the if statement and if I press the button,the action should happen again.i.e.,every time after finishing for loop,if I press the button submitxyz, x value should b incremented by 10,till it reaches the last record.i.e. till vector v1991 becomes empty.Can anyone help plz???Plz let me know if u have any doubts.Till now,even a single doubt has not been clarified.Plz help...I shall b very thankful....