HI,
 
I am working on an app that has a jsp with a drop down.This drop down must 
automatically be populated(on first page load) with the defualt value showing up as 
"Selected". i got the drop down working with <select> tag but it shows the drp down 
and not the defualta s teh selected .how to accomplish this?
 
also,on changing the selection in the drop down, i need to refresh the page showing 
the new selection
Book has ISBN and author, title.so if i change ISBN in the drop down, i need to 
repaing the jsp showing the new Title and Author corresponding to this new Book's ISBN 
.how to do it.do i need to use javascript for this if struts' tags are not sufficient
Thanks in advance
my code snippet below:
 

<tr bgcolor="A9A9A4">

<th align="right">

Supervisor:

</th>

<td>



<select name="ISBN" style="width:225px">

<logic:iterate id="book" name="books">

<option value="<bean:write name="book" property ="ISBN"/>">

<bean:write name="book" property ="ISBN"/>

</option>

</logic:iterate>

</select>

</td>



</tr>





---------------------------------
Do you Yahoo!?
Get better spam protection with Yahoo! Mail

Reply via email to