Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamic dropdownlists in Struts2

 
Sneha Durvasula
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am working with struts framework using jsp. I have 3 drop down lists in my jsp. Based on the selected value in the first drop down list i need to enable the second drop down list with some options and similarly the third one I need to enable based in the second menu..The options need to be the files present in a folder whose path will be specified..Can someone help
 
Joe Ess
Bartender
Posts: 9300
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts has a tag that has two select lists, the first of which determines the contents of the second.
Since that doesn't fit your needs, your best bet is to study some examples and extend them. Since this doesn't have much to do with Struts, you can get help in our JavaScript forum
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic