What is the best way of doing this? I have a drop down list with 4 values in the
jsp. Whenever a selection is made, I need to set the value selected in the list box after processing. Here is the jsp and
servlet code.
CODE] <SCRIPT language="JavaScript">
function back()
{
window.navigate("../servlet/gov.state.il.us.pe.AL_ALSPkga.pealInvalidatePeopleSession");
}
function doSort()
{
document.peopleListingForm.action="../servlet/gov.state.il.us.pe.AL_ALSPkga.pealPeopleListing";
document.peopleListingForm.submit();
}
</SCRIPT>
ltSELECT name="sortProperty" onchange="doSort()">
<OPTION value="1">SSN Ascending</OPTION>
<OPTION value="2">SSN Descending</OPTION>
<OPTION value="3">Last Name Ascending</OPTION>
<OPTION value="4">Last Name Descending</OPTION>
</SELECT>[/CODE]