Hi,
I am doing somewhat similar to this in my JSP . I mean i have a combobox which is having borrowerCodes .According to the borrowercode i select i am submitting the page in the onChange event of the combobox
so code part will be like as follows
ComboBox
<bean
efine name="borrowerCode" id="duplBorrowerCodeList" scope="request"/>(This data is coming from Data base thats why bean define)
<html:select property="duplctBorrowerCode" onchange="JavaScript:getDuplicateBorrowerDetails()" tabindex="2">
<html
ptions collection="duplBorrowerCodeList" labelProperty="borrowerCode"
property="borrowerCode"/>
</html:select>
onchange of this combobox i am submitting the page using
java script which is like as follows
function getDuplicateBorrowerDetails()
{
alert("You are going to Retrieve Duplicate BorrowerDetails");
document.crmsMergeBorrowerForm.action = "<%=request.getContextPath()%>/crms/jsp/crms/MergeAction.do?option=getDuplicateBorrowerDetails";
document.crmsMergeBorrowerForm.submit();
}
if you are not using any formname you can give forms[0] instead of 'crmsMergeBorrowerForm'
While i reload the page i will have one list of data which will be populated in the JSP
Hope this will help you
try