BINGO !!!

You are great Daigo!
Wojtek
----- Original Message -----
From: "Daigo Moriwaki" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, January 24, 2002 3:07 AM
Subject: Re[2]: CHARACTER ENCODING !


> Hi, wojetk
>
> 2002/01/24 Thu  AM 05:53
> "wojtek" <[EMAIL PROTECTED]> wrote:
>
> > I am also  setting         request.setCharacterEncoding("ISO-8859-2")
in
> > every possible place !
>
> Where did you put it?
> You should put it before request parameters are copied into actoinForm
> properties.
>
> You can make a subclass of ActionServlet and put 'setCaracterEncoding'
> in it like following:
>
> // ----- sample subclass of ActionServlet -----
> public class MyActionServlet extends ActionServlet {
>
> public MyActionServlet() {
> super();
> }
>
> protected void process(HttpServletRequest request,
> HttpServletResponse response)
> throws java.io.IOException,
> javax.servlet.ServletException {
>
> request.setCharacterEncoding("ISO-8859-2");
> super.process( request, response );
>
> }
>
> }
> // ----- end -----
>
> The web.xml must be changed so that this subclass will be used:
> org.apache.struts.action.ActionServlet -->
> YOUR_PACKAGE.MyActionServlet
>
>
> Thanks,
> John Daigo Moriwaki
>
>                              2002/01/24 Thu  AM 10:54
> --
> Daigo Moriwaki <[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
> --
> Myslisz o otworzeniu wlasnego sklepu internetowego?
> A moze o wynajeciu stoiska w wirtualnym pasazu?
> W Centrum e-biznesu mozesz miec jedno i drugie. Juz od 290 zl za rok.
> Wybierz: e-witryne lub e-sklep. http://handel.getin.pl/
>

 
-- 
Meczy Cie poszukiwanie korzystnej oferty?
Jesli TAK - podaj nam czego potrzebujesz i wybierz najlepsza propozycje
Wyszukiwanie i zbieranie ofert zostaw nam. 
Bezplatne Oferty Kupna w Centrum e-biznesu http://ofertykupna.getin.pl

 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to