On 27 juin, 15:46, babakm <[email protected]> wrote:
> I have a GWT 1.6 app that uses Ajax requests to talk to a server. I
> need to whitelist the URL for my ajax call so it would work in hosted
> mode. I have tried to pass -whitelist ".*" (anything) and also many
> other combinations in Eclipse and also in command line (see below). It
> simply ignores the whitelist parameters and prevents me from accessing
> it.
>
> Has this feature been changed in 1.6.4? I checked the command line
> arguments and followed them to the letter. I've set my classpath to
> the proper one (includes what needs to be there) and this is the
> command line:
>
> <code>
> java -XstartOnFirstThread -Xmx512M -Xdebug
> com.google.gwt.dev.HostedMode -whitelist ".*" -logLevel DEBUG -
> startupUrl Imagedex.html com.intillium.imagedex.Imagedex
> </code>
This has changed in 1.5.3 actually. See
http://code.google.com/p/google-web-toolkit/issues/detail?id=3131
which contains workaround (-noserver or proxying servlet)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---