Hi,

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?

Why I want to do that?

When I use xsp and esql to find file from database, putting error throwing to <esql:no-results /> would make it easy and centralized way to handler errors.. (every error catched in <map:handle-errors />).

Thanks,

Joose

--
"Always remember that you are unique, just like everyone else!"
* http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 *


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to