try to be more clear, i'm in lack of ideas in this problem.
<logic:present name="StateList" scope="session">
<td align="left"><font color="red"><b><b>*</b></b></font> <b>Select State</td>
<td>
<html:select property="selectedState" onChange="execute(this.form)">
<html:option value="-1">Select</html:option>
<html:options collection="StateList" property="label" labelProperty="value" />
</html:select>
</td>
</tr>
<tr></tr>
</logic:present>
on calling onChange i want to reload this JSP without refreshing parameter.Because On the basis of selected value i have to perform some other features.I am able to do using struts,but i dont want to use struts.
using struts i can do like this:
function execute(frm)
{
frm.action="Inedex.do?method=process";
frm.submit();
}
process method is written in Indexaction.java.which is returning my same JSP(return mapping.findforward("this")).where "this" is mapped to Index.jsp and i am attaining my goal.But i dont want to use struts.
I have spend hours trying to play around with this but have got nowhere.
Your help is much appreciated.