I'll explain the overall logic and syntax,
Let us assume that month value u need to set in the select list is stored in the
jsp variable "dbMonth".
JSP Variable - dbMonth - Month value
HTML Form Name - frmForm - Form Name
HTML Form - selMonth - Month select list
so if above is the example case so for that im goin to explain you how to use javascript and to set the select list to the corresponding month.
the following code is assumed that the select list is populated with the date values.
<script>
for(i=0;i<document.frmForm.selMonth.length;i++)
{
if(document.frmForm.selMonth.options[i].value == '<%=dbMonth%>')
{
document.frmForm.selMonth.options[i].selected = true;
break;
}
}
</script>
like above you need to do for the select list to load with the value.
keep smiling
arun