File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts: ComboBox onChange action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts: ComboBox onChange action" Watch "Struts: ComboBox onChange action" New topic

Struts: ComboBox onChange action

Imre Tokai
Ranch Hand

Joined: Jun 04, 2008
Posts: 130
I have 2 dependent combo boxes on JSP page.
When i select value from the 1. box, appropriate values should be available in the other. So, I need a page-reload.

How can i implement this? Simple (tested) example would be great...

Imre Tokai
Ranch Hand

Joined: Jun 04, 2008
Posts: 130
Actually, i need to call 2 Struts actions in 1 form:
one for reloading the page every time i change on combo box is made;
the other is for submitting the data for insert;

How can i do that (I only know how to attach one action to a form)?

I agree. Here's the link:
subject: Struts: ComboBox onChange action
It's not a secret anymore!