Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-05-2007, 02:46 PM   PM User | #1
zaman1111
New to the CF scene

 
Join Date: Sep 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
zaman1111 is an unknown quantity at this point
Exclamation JSp capture

I have a JSP page which has student roster and letting instructor choose grades for some students with check box. I want only the students info which were checked to my next JSp page, but I cant take the only selected ones. I am trying to use obj to capture the values in loop, but its not passing to the next page. I am using getParameterValues to capture the value. The sample HTML shown below. Any ideas.
thks,

<table class="sample" cellSpacing="0" cellPadding="0" align="center" border="1" id="table1">
<tr align="left">
<td vAlign="center" align="left">1234</td>
<td vAlign="center" align="left"><strong>BARIBAN, STEVEN G</strong>
</td>
<input type="hidden" value="1234" name="student_id" >
<input type="hidden" value="BARIBAN, STEVEN G" name="student_name" >
<td vAlign="center" align="left">
<input type="checkbox" value="WU" name="newgrade" > <br>
WU</td>
<td vAlign="center" align="left"><label><br>
<input size="15" name="lad" or><br ></label></td>
</tr>
<tr>
<td vAlign="center" align="left">2341</td>
<td vAlign="center" align="left"><strong>BRATKO, IGOR M</strong> </td>
<input type="hidden" value="2341 name="student_id" >
<input type="hidden" value="BRATKO, IGOR M" name="student_name" >
<td vAlign="center" align="left">
<input type="checkbox" value="WU" name="newgrade" > <br>
WU</td>
<td vAlign="center" align="left"><label><br>
<input size="15" name="lad" or><br ></label></td>
</tr>
</table>
zaman1111 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:46 AM.


Advertisement
Log in to turn off these ads.