> From: Alexander Smirnoff [mailto:[EMAIL PROTECTED]]
> 
> Actually, does it possible to set "encoding" from sitemap? The same
about
> "setHeader" - is it possible to set "Cache-Control" from
> the sitemap?

This was answered day or two before. You have to write own, very simple,
one-line action.

Vadim

> 
> Thanks,
> Alex.
> 
> ----- Original Message -----
> From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, April 10, 2002 4:22 PM
> Subject: RE: Problem in encoding form data
> 
> 
> > > From: Mohamed Abdel Hameed [mailto:[EMAIL PROTECTED]]
> > >
> > >
> > >   Hi
> > >   first i'm using cocoon version 2.0rc1 with Tomcat Version 4.0.1
.
> > >   i have a problem in ecoding .
> > >   i try to send data from html FORM this data is (Germany data )
but
> > there
> > > is
> > >   a problem when send this data
> > >   it sent wrong .
> >
> > Try in your XSP:
> >
> > <para>
> > <xsp:logic>
> > request.setCharacterEncoding("utf-8");
> > </xsp:logic>
> > myparam = <xsp:get-parameter name="myparam"/>
> > </para>
> >
> > This <para/> should be the first thing which accesses request
object.
> >
> > Vadim
> >
> > >   first i read that don't use  GET  when i send data so i change
it to
> > POST
> > >   but without no change in result
> > >   i write
> > >   <?xml version="1.0" encoding="utf-8" ?>
> > >   in xml siles
> > >   also in html i use :
> > >   <META HTTP-EQUIV="Content-Type"  CONTENT="text/html;
> > charset=utf-8"/>
> > >   also i use :-
> > >   enctype="application/x-www-form-urlencoded"
accept-charset="utf-8"
> > >   with FORM .
> > >   so if anyoe can help me in this it'll be nice
> > >   thanx .


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to