users@glassfish.java.net

Re: Access-Control-Allow-Origin

From: Pawel Veselov <pawel.veselov_at_gmail.com>
Date: Tue, 5 Nov 2013 14:30:17 -0800

On Tue, Nov 5, 2013 at 9:11 AM, charu verma <charu11093_at_yahoo.com> wrote:

> How can we add the Access-Control-Allow-Origin HTTP header to the service
> response in glassfish?
>
> Did you try response.setHeader() ? In your servlet/JSP/filter code?