aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 8705
    
    6

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
 
Similar Threads
dynamic drop down list values
Dropdown List onchange event
Dynamic generation of jsp dropdown items from database based on another drop down
Dropdown values for JSP
create a dropdown list based on selection from another dropdown list in jsp