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

<s:select list> How to get values from database?

 
suraj savaratkar
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to put a session values into first <s:select> tag and according to selected item, second <s:select list> should display a corrsponding values from database.

For. e. g : if first select displays Java as template then second list must display values corresponds to Java template like core java,j2EE, J2ME from the database.

Please give the syntax.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no syntax, you have to build a component like that yourself, or use the doubleselect tag.
 
suraj savaratkar
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
if you should know the syntax for <s:doubleselect> please forward for above question .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic