views:

29

answers:

1

I want to change the content of a select box when the values in another select box changes. Please tell me how to use dojo. How to call the struts 2 action & get the result through ajax.

A: 

with struts2-core there comes a tag but this does not work with ajax.

The struts2 dojo tag is marked as deprecated so it is better not to use it in a new project.

In the Wiki for the Struts2 jQuery Plugin is a example for an AJAX based Double Select, maybe this is an option for you.

jogep