pass paramters between jsp's

I have one combo box in the jsp page. on selecting an option, i want to call onchange method and process the selected index in a jsp/servlet with database locally and again redirect the resulted values to the current jsp page.

How to achieve the above task.

Please help

thanks

[301 byte] By [anup_sunsysa] at [2007-9-24]
# 1
i think u have posted the same question thrice, what abt the dollars assigned to the first questionkdp1982
kdp1982a at 2007-7-15 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 2
i have given 5 duke $s
anup_sunsysa at 2007-7-15 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 3
to whomkdp1982
kdp1982a at 2007-7-15 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 4
html:select property="comboboxName" styleClass="formfield" onchange='getCity()'></html:select><script language='javascript' type='text/javascript'>function getCity() { // write ur code}</script>
charipavana at 2007-7-15 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 5

html:select property="comboboxName" styleClass="formfield" onchange='getCity()'>

</html:select>

<script language='javascript' type='text/javascript'>

function getCity() {

// write ur code

}

=================

my answer is

function getCity() {

document.mainform.action="pmTimeSheet.do?";

document.mainform.submit();

}

in the action class u need to filterout the required data from whole data

so u need to call action class in the function as shown in the above.

kris_dida at 2007-7-15 > top of java,Enterprise & Remote Computing,Web Tier APIs...