Friday, April 19, 2013

gwt-maven-plugin and codeserver, where to find/place/reach html to be included in the jetty

Hi

I have a maven setup that runs gwt in superdev-mode. To run the application I have just gone to the file://.../debug.html page and that works fine... when just testing stuff that are executed on the client side. When trying to run rpc-calls I get the "Origin null is not allowed by Access-Control-Allow-Origin." not strange since the file is on the "file://" and the service is on the http://localhost:9876/Foo/rpc url, i guess. 

The problem is that I cannot find/place where to find the debug.html on the server. I look in the "target\Foo-1.0-SNAPSHOT" ant there it is... but the server does not find it on  http://localhost:9876/Foo/debug.html

Do I have to declare where the file is for the jetty-server? Or anything?

Thanks,
Clundahl 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate