cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeroen Reijn" <j.re...@onehippo.com>
Subject RE: [2.1]change response http status
Date Tue, 15 Apr 2008 13:06:48 GMT
Hi,

try setting the status-code attribute on your custom serializer.

<map:serialize type="xml" status-code="001"/>

Regards,

Jeroen Reijn




-----Original Message-----
From: nanomonk [mailto:brain_box@inbox.ru]
Sent: Tue 4/15/2008 11:19 AM
To: users@cocoon.apache.org
Subject: [2.1]change response http status
 

I need to set another status-code via "response.setStatus(1)":
"HTTP/1.1 200 OK"
to
"HTTP/1.1 001 blablabla"
Now I have my custom serializer. How can I to take access to Response object
from serializer?

-- 
View this message in context: http://www.nabble.com/-2.1-change-response-http-status-tp16698263p16698263.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


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



Mime
View raw message