Re: GWT 2.0 - SOP and Development Mode
On 23 Gen, 02:45, Ashish Khivesara ashish.khives...@gmail.com wrote: Actually I was able to bypass the SOP issue using a client-side solution. GWT Documentation provides an Examplehttp://code.google.com/intl/ja/webtoolkit/doc/1.6/ I'm quite new on these issues(I hope my cent is usefulright) and the SOP issue seems hard to solve. I think the easier way is to configure the webserver(which provide the GWT executable, and could be local or remote) in order to redirect requests to the application server, look for apache tomcat deployement here: http://code.google.com/intl/it-IT/webtoolkit/doc/latest/DevGuideServerCommunication.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.0 - SOP and Development Mode
Ok, nevermind. I took the brute force approach and recompiled firefox with the SOP feature disabled. In case anyone needs to do that: I just made a change in the SecurityCompareURIs() function so that it would always return PR_TRUE. Ajax works again in the debugger, ahhh! On Jan 19, 9:37 pm, preacher860 mathieu.lanoue...@gmail.com wrote: Hi there, As many people, I'm experiencing troubles while trying to debug an application in Development Mode when it tries to retrieve some JSON data from a remote server. It's obviously a Same Origin Policy problem but I can't find a satisfying solution to this issue. The setup is quite simple: - GWT application running in Firefox for Linux with Developer Plugin installed - Embedded target with webserver providing some JSON data through RequestBuilder POST statements. This works fine when the embedded board is also the server for the application pages (No SOP issues) and also used to work fine in GWT 1.7 with SOP checks disabled in the embedded browser. Now, the Firefox plugin seems to provide some way of allowing security exceptions, but no matter how I try to use this, I still get an SOP violation message from the browser. Is there any special syntax to use for the exceptions? Full URL or only server name? Or IP? Documentation is not very clear on that... Did anyone actually made the exceptions work in the FF plugin under Linux? Thanks! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT 2.0 - SOP and Development Mode
Hi there, As many people, I'm experiencing troubles while trying to debug an application in Development Mode when it tries to retrieve some JSON data from a remote server. It's obviously a Same Origin Policy problem but I can't find a satisfying solution to this issue. The setup is quite simple: - GWT application running in Firefox for Linux with Developer Plugin installed - Embedded target with webserver providing some JSON data through RequestBuilder POST statements. This works fine when the embedded board is also the server for the application pages (No SOP issues) and also used to work fine in GWT 1.7 with SOP checks disabled in the embedded browser. Now, the Firefox plugin seems to provide some way of allowing security exceptions, but no matter how I try to use this, I still get an SOP violation message from the browser. Is there any special syntax to use for the exceptions? Full URL or only server name? Or IP? Documentation is not very clear on that... Did anyone actually made the exceptions work in the FF plugin under Linux? Thanks! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.