cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "arturl" <art...@pi.net.pl>
Subject Re: setCharacterEncoding in jsp page through cocoon?
Date Wed, 05 Mar 2003 14:51:19 GMT
Sorry - it was a question.
I don't know how to make the response sent to client contain a charset
attribute in Content-type header.

Artur
----- Original Message -----
From: "Tsui, Alban" <Alban.Tsui@COGNOS.com>
To: <cocoon-users@xml.apache.org>
Sent: Wednesday, March 05, 2003 3:28 PM
Subject: RE: setCharacterEncoding in jsp page through cocoon?


What do you mean? How would I do that?

-----Original Message-----
From: arturl [mailto:arturl@pi.net.pl]
Sent: 05 March 2003 14:25
To: cocoon-users@xml.apache.org
Subject: Re: setCharacterEncoding in jsp page through cocoon?


Do you, how to add charset attribute to response Content-Type http header?
The action doesn't change the header.

Artur

----- Original Message -----
From: "Leszek Gawron" <ouzo@vip.net.pl>
To: <cocoon-users@xml.apache.org>
Sent: Wednesday, March 05, 2003 2:47 PM
Subject: Re: setCharacterEncoding in jsp page through cocoon?


> On śro, mar 05, 2003 at 08:37:57 -0500, Tsui, Alban wrote:
> > Could you tell me how to use the cocoon SetCharacterEncodingAction ?
> Declare it:
> <map:action logger="sitemap.action.characterencoding"
name="characterencoding"
>
src="org.apache.cocoon.acting.org.apache.cocoon.acting.SetCharacterEncodingA
ction">
> <form-encoding>utf-8</form-encoding>
> <map:action>
>
> and then use it just like yours
>
> yo ucan also override the default parameter by :
>
> <map:act type="characterencoding">
> <map:parameter name="form-encoding" value="iso-8859-2"/>
> <!-- rest of stuff goes here -->
> </map:act>



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message