I had the same problem about a week ago( also using Struts 1.02)
Now I am using a seperate Action to change the local.
public ActionForward perform(ActionMapping mapping,
ActionForm form, HttpServletRequest request, HttpServletResponse
response){
SetLocalForm setLocalForm = (SetLocalForm)form;
String localString = setLocalForm.getLocal();
Locale local = new Locale(localString, localString);
request.getSession().setAttribute(Action.LOCALE_KEY, local);
return mapping.findForward("setLocalActionDone");
}
and an ActionForm to store to store the local parameter from the jsp.
I guess how to set a parameter on an image should be clear.
(Image Link, link gots "local=lang" parameter)
marcus
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>