> The problem is that I have dropdowns for month and day.  I 
> would like it if the dropdown for month could be prepolutated 
> with the value the user has allready saved before.  So for 
> example it could be prepoluted with "February" and the user 
> can select another value from the dropdown if he/she wishes 
> to change it.

Struts does that for you. You create a form bean which has read/write
properties corresponding to the fields in your web page. You define those
fields on a JSP page using the Struts <html...> tags. You read data from the
DB, store it in the form bean, and store that form bean in the request
object. The Struts tags 
take the data from the form bean and  put it into the HTML form.

For a dropdown, use <html:select ...>


--
Tim Slattery
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to