Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

search from list.

 
jyotsana dang
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic