Ok in my case the problem is SpringSecurity , so it's setting X-Frame-Options header to DENY by default.

If I change this default value to SAMEORIGIN I can get the form response. In Spring Security xml config file:
Code:
<http>
   <headers>
                <frame-options policy="SAMEORIGIN" />
  </headers>
</http>
Reference: http://docs.spring.io/spring-securit...-frame-options