Why would you want to do that?
And to answer - no, JAX-RS does not have anything like "forward", BUT
you can easily implement it. You can call another service (using jersey
client for example) and return its result as a response to your original
request, so "browser" (original client) would NOT be aware of internal
forward.
I have to mention that returning "seeOther" (http status 303 or maybe
301) would be my preferred solution.
Regards,
Pavel
On 8/5/11 10:55 AM, Jose Antonio Illescas Del Olmo wrote:
> Response class define a "seeOther" method for use in redirect-after-POST
>
> I see this method as "sendRedirect" of Servlet API
>
> But I not see any JAX-RS alternative to "forward".
>
> I can "forward" (as Sevlet API does) with JAX-RS?
>
> Thank you
>