user1125394
user1125394

Reputation:

Configure Glassfish to enable CORS

After searching I dd not find anything about glassfish3.1 and CORS

Is it possible to enable CORS like on Apache2

I need that for 'same domain' ajax request, from an apache server to query glassfish on its 8080 port, I could use an intermediate php script, but it seems to slow down everything

Upvotes: 2

Views: 1906

Answers (1)

Artem Oboturov
Artem Oboturov

Reputation: 4385

Looks like NO: http://java.net/jira/browse/GLASSFISH-16049.

In this bug take a look at fix version which is 4.0 - the next one in product line.

Use any other conventional methods you have. For example, configure Apache mode_rewrite to respond to HTTP Options verb.

Best

Upvotes: 1

Related Questions