This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Retrieve value on JSP Dropdown  RSS feed

 
rajnish patel
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am retrieving value from database via java method to a jsp.

If I try to get value on a textbox, it displays on appropriate textbox, but I want that value to be selected in a dropdown list.
Please suggest correction.

Hereby I've attached codes for both views, textbox and dropdown list.

Working,





Not working,

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!