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!

Working of ComboBox in JSP

843840Aug 19 2007 — edited Sep 19 2007
I am new to jsp programming. I have no idea how to navigate if there is two dropdownlist. Here second one depends on the first one then should i have to design two pages with sam dessign?

I have checked the url
http://forum.java.sun.com/editwatches!default.jspa

thsi page contains two comboboxes. I have selected java essentials from first combo. Then it got redirected to another page.
with the url
http://forum.java.sun.com/editwatches!default.jspa?filterCat=5

When I checked the view source of http://forum.java.sun.com/editwatches!default.jspa

I have seen something like this...

<select name="filterForum"

onchange="location.href='editwatches!default.jspa?filterForum='+this.options[this.selectedIndex].value+'&filterCat='+this.form.filterCat.options[this.form.filterCat.selectedIndex].value;">

In the above code what do they mean by location?

Please reply me

Thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 17 2007
Added on Aug 19 2007
13 comments
1,279 views