cocoon-users mailing list archives

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

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

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


Jeroen Reijn

-----Original Message-----
From: nanomonk []
Sent: Tue 4/15/2008 11:19 AM
Subject: [2.1]change response http status

I need to set another status-code via "response.setStatus(1)":
"HTTP/1.1 200 OK"
"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:
Sent from the Cocoon - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message