It's not a secret anymore!
The moose likes JSP and the fly likes search from list. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "search from list." Watch "search from list." New topic

search from list.

jyotsana dang
Ranch Hand

Joined: Sep 26, 2003
Posts: 135
i have 2 drop-down boxes in my html form. One contains the names of all the tables from where records have to be displayed and the other contains the year values. User selects a table from the first list like publications and an year value and is displayed records accordingly.
iam giving a request.getParameter and an if else statement to see what the user has selected.
Can anyone give me further suggestions on this?
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
read the value of the parameters just like any other request parameter.
What the value means is of course hard to say, depending on how the data is represented on the html.

I agree. Here's the link:
subject: search from list.
It's not a secret anymore!