users@jersey.java.net

Re: [Jersey] Firefox making multiple GET requests against a resource - any idea why?

From: Alex Bleasdale <rhodlite78_at_yahoo.co.uk>
Date: Thu, 12 Nov 2009 08:56:21 -0800 (PST)

For what it's worth, if I remove all content-type settings (e.g. I remove
.type("image/gif")) from Response.ok and remove the @Produces annotation,
only one row gets written to my table.

However, now the content type is being treated as "text/html" (writing the
content out to the page) and not treating it as an image (as intended).

Any ideas would be really appreciated; thanks in advance.

Alex.
-- 
View this message in context: http://n2.nabble.com/Firefox-making-multiple-GET-requests-against-a-resource-any-idea-why-tp3994046p3994163.html
Sent from the Jersey mailing list archive at Nabble.com.