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!

how to pass a string array in jsp

843840Apr 4 2008 — edited Apr 18 2008
i am fetching values from database and putting them in the array in jsp page as given below

String name[]=new String[10];
......
....
while(rs1.next())
{
int count=0;
name[count]=rs1.getString(1);%>
..............
............
count++;
}

then i want to transfer this complete array to next page
by clicking on a button
please tell me what to write in the next page

String name[] = request.getParameter( "name" );

it is not working please tell me what is the problem...........

thanx & regards
sweety
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 16 2008
Added on Apr 4 2008
14 comments
932 views