Hi Fabian, this is a good question. I think the approach is through exception mapper in JAX-RS which means bundles should throw something like ResourceNotFoundException which maps to a certain JAX-RS ExceptionMapper Provider. This Provider will then include your message in the response... though not sure about the interface yet how to pass your message... opinions?
Regards Hasan On Fri, Sep 10, 2010 at 11:09 AM, Fabian Baumgartner < [email protected]> wrote: > Hi, > > what is the best way to modify the default 404 page in clerezza? It's okay > for dev environments, but I would like to be able to edit the "not found" > page for a live site. > > What would you recommend? > > Thanks > > Regards Fabian > > > --getunik ag------------------------------------------- > Fabian Baumgartner [email protected] > hardturmstrasse 101 fon: +41 44 388 55 88 > ch-8005 zuerich fax: +41 44 388 55 89 > > --latest getunik project------------------------- > Act local! Geo Marketing for your E-Mail campaign: www.geomarketing.com< > http://www.geomarketing.com/> > > --best of swiss web awards 2009------------------ > Gold & Silver for Connect2Earth / Bronze for WWF UK > > we make the web a better place - www.getunik.com<http://www.getunik.com/> > > > > > *********************************************************** > P Think about the environment ! Do not print this mail unless necessary. > *********************************************************** > >
