Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

html:options  RSS feed

 
DVVN Sudhakara Rao
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to generate a html ptions values from the database.My application have a jsp page in which there is a html:select tag. I want to generate the values from the database. Any examples with code.
Thanks in advance
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36406
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first step is to have your Action place the options in a Collection in the request. Then the htmlptions tag can display it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!