Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Calling if

843838May 20 2007 — edited May 22 2007
Hi,

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....
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 19 2007
Added on May 20 2007
4 comments
87 views