aspose file tools*
The moose likes Struts and the fly likes How to load data in a combo based on user selection on another combo Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to load data in a combo based on user selection on another combo" Watch "How to load data in a combo based on user selection on another combo" New topic
Author

How to load data in a combo based on user selection on another combo

Santhosh kumar Ravindran
Greenhorn

Joined: Nov 14, 2009
Posts: 13
Hi ranchers,

i want to know the way for loading values in a combo based on a selection from another combo in same jsp.

Thanks in advance !
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9293
    
  17

i want to know the way for loading values in a combo based on a selection from another jsp.

You want to change the combo box on one page based on what combo box is selected on a different JSP page??


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Santhosh kumar Ravindran
Greenhorn

Joined: Nov 14, 2009
Posts: 13
Ankit Garg wrote:
i want to know the way for loading values in a combo based on a selection from another jsp.

You want to change the combo box on one page based on what combo box is selected on a different JSP page??


Yeah exactly,
Thanks Mr. Garg.
But Mr. Garg, i posted my question wrong. Sorry for that.
Actually i want to load the second combo based on first combo selection in a single jsp !
so that i can dynamically load based on user selection.

May i know the way for it.

Regards,
santhosh (rancher)
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9293
    
  17

There is a tag called doubleselect that can help you. Look at examples on the internet on how to use it...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to load data in a combo based on user selection on another combo