struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oscar <oscar.kalde...@gmail.com>
Subject Re: Problem with S2 form parameters encode
Date Mon, 27 Sep 2010 19:53:16 GMT
Unicode (UTF-8)

Regards.

2010/9/27 Maurizio Cucchiara <maurizio.cucchiara@gmail.com>

> Struts 2 version?
> Which encoding do you see if you press CTRL+i on firefox?
>
> 2010/9/27 Oscar <oscar.kalderon@gmail.com>
>
> > Thanks Maurizio, but that's not the problem, because i have already this
> > header that is the same as yours:
> >
> > <%@page contentType="text/html" pageEncoding="UTF-8"%>
> >
> > But i tried using your header and i get the same result.
> >
> > Regards.
> >
> > 2010/9/27 Maurizio Cucchiara <maurizio.cucchiara@gmail.com>
> >
> > > Hi Oscar,
> > >
> > >
> > > 2010/9/27 Oscar <oscar.kalderon@gmail.com>
> > >
> > > > Exist a way to tell struts 2 how to encode those characters?
> > > >
> > > > There is a simple way:
> > > put this line on top of you jsp file:
> > > <%@ page contentType="text/html; charset=UTF-8" %>
> > >
> > > Hope this help
> > >
> > > Maurizio Cucchiara
> > >
> >
> >
> >
> > --
> > Oscar Calderón
> > SCJP 6  <http://javahowto.net>
> >
>



-- 
Oscar Calderón
SCJP 6  <http://javahowto.net>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message