Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Configuring Proxy for a tomcat v6 test server(Way to work around the same origin policy)
Configuring Proxy for a tomcat v6 test server [message #1287130] Mon, 07 April 2014 08:43
Tejas Shah is currently offline Tejas Shah
Messages: 1
Registered: April 2014
Junior Member
Hello,

I am developing a dynamic web project with a Tomcat v6.0 server. In this project, there is a web page which is attempting to make an ajax call to a different domain. As expected, this doesn't work due to the restrictions of "Same Origin Policy".
One of the work around is to configure a proxy in the tomcat server so that the ajax call can be made to the "localhost" which in turn will redirect the request to a remote server.
I am not sure how to do this in eclipse?

Can any one help?

Thanks in advance.
Previous Topic:Trying to nest a static web project in eclipse
Next Topic:Extending WTP XSD editor
Goto Forum:
  


Current Time: Wed Jul 23 14:10:14 EDT 2014

Powered by FUDForum. Page generated in 0.01659 seconds