users@jersey.java.net

returning external URI

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Sat, 28 Nov 2009 13:36:40 +0100

I want to create a Jersey resource that returns the URI of a google graph:

like: http://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World

so, this resource will calculate the graph parameters and return the
compelte URI a client can use to show a graph in an html page...

what is the most correct HTTP Response type for that ?

1) Response.created(uri)
2) Response.seeOther(uri)
3) other ??





-- 
------------------------------------------
   Felipe Gaścho
   10+ Java Programmer
   CEJUG Senior Advisor