<input type='text'
name='cowbell'
value='<%=request.getParameter("cowbell")%>' />
For radios, checkboxes, and selects, you'll need to do the same thing.
There are probably custom tags floating on the net which makes the above a lot easier.
-Tim
engp0510 wrote:
Thanks But it is nothing with "form" and "request". Maybe I should make me more clear:
For the first time this JSP loaded, it is not sure how many rows of a table needed by user. Then user choos a select_box to set the rows number and then JSP was reloaded with table contain the number of rows user selected.
<select size="1" name=item_num ONCHANGE="location=this.options[this.selectedIndex].value;"> <%for(int i=1;i<=5;i++){%> <option value="\AddQuotation.jsp?actionfrom=<%=request_from%>&row_num=<%=i%>"<%if(ro w_num==i){out.print("SELECTED");}%> >-<%=i%>-</option> <%}%> </select>
But user may set other fields before setting the number of rows, so when the JSP was reloaded, all filled fields ahould be cached, is it possible?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
