Ok you are probably right maybe I have to elaborate a bit to give you a better understanding of what I'm
asking.
In question 1 what I want is to use the s:action tag to provide me with the data to populate a drop-down
list. To be more specific I want to populate a drop-down list with a number of Countries. For this purpose
I created an action (populateCountryList) that its sole purpose is to supply me with the List of Countries
(see code snippet below).
Now in the header of each of my pages I have the code
which fails to populate the drop-down list. Correct me if I am wrong but shouldn't the Countries property be
available on the ValueStack after I used the s:action tag ?
For the second question imagine that while the user changes the Language I want some code to be executed
(so I have to provide some action to the form) and then return to the current page that initiated the submission
of the form . Because this form is in the header page (which is included in several pages) I want to know if
there is a way to tell
struts (through struts.xml) to execute an action and then return back to the same page
that initiate the request.
Thanks