I want to set Locale in a filter but it's now woking using struts 2. I can not go thru the class org.apache.struts because I don't have it. Must use struts 2. [ May 23, 2007: Message edited by: Mathias Nilsson ]
It's great that you solved the problem, but for the benefit of others who might be seeking an answer to the same problem, could you please post your solution?
I'm doing this in a filter. You can use ActionContext.getContext() to set the locale at least if you are using struts 2. When choosing the resource use LocalizedTextUtil to add the resource.
I couldn't get it to work without setting the default locale.
// Mathias
SCJP1.4
What are you doing? You are supposed to be reading this tiny ad!
a bit of art, as a gift, the permaculture playing cards