Re: [Struts 2.1.8.1] Internationalization: how to remain in the current page ?

2010-03-19 Thread Ulf Liedén
Hi Celinio, personally, I would build a method that gives back the URL of the page you are currently visiting, including all parameters. You put this method in a superclass of all your actions, so that its available everywhere. In the code you decide which locale parameter to set, according to you

Re: Request Encoding

2010-03-15 Thread Ulf Liedén
Hi Manos, Lukasz, and thanks for the replies. Setting the URIEncoding="UTF-8" in the server.xml didn't do the trick for me, but so did an UTF8Filter in the web.xml. Best regards, Ulf On Mon, Mar 15, 2010 at 11:20 AM, Manos Batsis wrote: > Ulf Liedén wrote: > >>

Request Encoding

2010-03-15 Thread Ulf Liedén
Hi all, when my struts application receives form entries containing french character (i.e. é è) they are converted to something else, like é è. This has probably something to do with how the request is encoded. I've tried to add ServletActionContext.getRequest().setCharacterEncoding("UTF-8");

Re: Encoding of french characters in

2010-03-11 Thread Ulf Liedén
utf8 like this? > > <%@ page contentType="text/html; charset=UTF-8"%> > > Maybe you have to write the special characters in the string as html > entities... > > Em 11-03-2010 09:10, Ulf Liedén escreveu: > > Hi all, >> >> my first post to this list

Encoding of french characters in

2010-03-11 Thread Ulf Liedén
Hi all, my first post to this list :-). Sorry if I'm double posting, not sure if the first message reached the list. I'm using Struts 2.1.6 and want to display a string that contains both HTML markup as well as french characters (i.e. é è ê etc) on a webpage. If I use the french characters are

Encoding of french characters in

2010-03-11 Thread Ulf Liedén
Hi all, my first post to this list :-). I'm using Struts 2.1.6 and want to display a string that contains both HTML markup as well as french characters (i.e. é è ê etc) on a webpage. If I use the french characters are correctly displayed, but the markup is escaped, and displayed as normal text.