users@glassfish.java.net

Re: JAX-RS error code 500 = GlassFish HTML error page

From: <glassfish_at_javadesktop.org>
Date: Wed, 20 Jan 2010 10:00:42 PST

Thanks to everyone on the GlassFish and Jersey teams for taking this request seriously and implementing a solution so quickly!

I had a thought this morning. The @Produces annotation tells Jersey whether or not the response will be a web page. Maybe this annotation can somehow be used to tell the servlet container when to use or ignore web.xml defined error pages, based on MIME type. This would assume that web.xml error pages are always web pages.


Ryan
[Message sent by forum member 'rdelaplante' (ryan_at_ijws.com)]

http://forums.java.net/jive/thread.jspa?messageID=381996