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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to