struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Al Eridani" <al.erid...@gmail.com>
Subject Re: response.setContentType("text/html; charset=utf-8")
Date Thu, 21 Sep 2006 17:59:43 GMT
On 9/8/06, Raghuveer <raghuveerv@infotechsw.com> wrote:

> From the source examples
> jakarta-struts-1.1-src\jakarta-struts-1.1-src\src\upload\org\apache\struts\w
> ebapp\upload
>
> What does the use of
>  response.setContentType("text/html; charset=utf-8");

It tells the browser that what the browser is going to receive uses
the UTF-8 character
set, so the browser can display it correctly.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message