cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Ratcliffe" <>
Subject How to set HTTP response status code
Date Tue, 01 Feb 2005 01:06:21 GMT
I'm implementing a REST style web service using Cocoon. In the event that a
consumer of the service
requests a resource that doesn't exist the service should return a 404

Ideally I would do this from within the flow layer, something like:

cocoon.sendError(404, "No resource exists for URI: " + requestURI);

Is something like this possible?


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

View raw message