my dog learned polymorphism*
The moose likes Struts and the fly likes Dynamic dropdownlists in Struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dynamic dropdownlists in Struts2" Watch "Dynamic dropdownlists in Struts2" New topic
Author

Dynamic dropdownlists in Struts2

Sneha Durvasula
Greenhorn

Joined: Sep 26, 2013
Posts: 10
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

Joined: Oct 29, 2001
Posts: 8876
    
    8

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


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic dropdownlists in Struts2