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 12:43
Tejas Shah is currently offline Tejas ShahFriend
Messages: 1
Registered: April 2014
Junior Member

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: Mon Aug 31 19:59:28 GMT 2015

Powered by FUDForum. Page generated in 0.02797 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software