Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to send value of combobox to servlet on onChange event

843836Apr 15 2005 — edited Jan 23 2009
hi.

there is a combobox in my Jsp page along with other textboxes , i want that onchange of its value a servlet will be called which in return fill the textboxes with the corresponding value.

the code which i am using is:---

// in java script

function calservlet()
{ document.submit();
}

// in form

<select name="Project_ID" onChange="calservlet()" >

is there any other solution for my problem , Please help me out
thanx
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 20 2009
Added on Apr 15 2005
12 comments
2,581 views