This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts: ComboBox onChange action" Watch "Struts: ComboBox onChange action" New topic
Author

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...


Regards
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)?


Regards!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts: ComboBox onChange action
 
Similar Threads
jtable
Entity Object Identity
developing and testing ssl
Geo tagging
Snow is for the weak!