> From: Emi <em...@encs.concordia.ca>
> To: Struts Users Mailing List <user@struts.apache.org>,
> Date: 17.03.2017 16:57
> Subject: ajax for https in struts
>
> Hello,
>
> Ajax methods work in http, but NOT https.
>
> Seems due to cross-origin HTTP
Hello,
Ajax methods work in http, but NOT https.
Seems due to cross-origin HTTP request.
May I know how to setup "Access-Control-Allow-Origin" in
struts/jsp/servlet please?
Have tried the following but did NOT work.
(1) mainlayout.jsp
response.addHeader("Access-Control-Allow-Origin",
2 matches
Mail list logo