Re: Generating a 404 from esql:no-results

2002-06-15 Thread Jonathan Layes
Hi all, I'm starting to get pretty good at answering my own Cocoon questions :) After some digging, I found the xsp:structure and xsp:include tags in both the included esql logicsheet and in the logicsheet documentation. By including: xsp:structure

Generating a 404 from esql:no-results

2002-06-14 Thread Jonathan Layes
Hi all, I have a few ESQL XSP pages where there is the potential for the query to not generate any results. In those cases, I would like to throw a ResourceNotFoundException and let my error handling (defined in the sitemap) take over and generate a 404 back to the client. Is this a sensible