On 18.06.2004 09:53, John L. Webber wrote:
Have you tried "response.setStatus(404);"?
Don't do it that way, do it the Cocoon way.
with <map:handle-errors ...> you can catch error, if it happens.. say map:read won't find a file and 404 is returned.. But I don't seem to find, how to throw 404 error from XSP?
Throw your specific MyException, catch them in map:handle-errors and set the status to 404 there. There is no need to throw 404 in XSP itself.
Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
