I have 2
JSP pages each with a dates drop down combo box whose contents are the same. However, on the first page the user can set a default date that s/he can use throughout the application.
So on the second JSP page in the drop down combo box, I'd like to set the selected default date (from the first page) as the first/selected value in the drop down but at the same time the user should be able to select a different date from the list.
Is this possible in
struts?
Here's my code:
<html:select property="dates">
<% for(int i=0; i < listsize; i++)
{%>
<html

ption value="<%bdatesList.get(i)%>"><%=bdatesList.get(i)%></html

ption>
<%}
%>
</html:select>