Re: requestBuilder and file location
On 20 oct, 19:34, Tomek <TomekMist...@interia.pl> wrote:
> Hello,
>
> Is it possible to load file using requestbuilder that is not in WAR
> folder but in some package for example com.tom.test.xml?
If the file is in a <public/> subfolder (see the doc about the gwt.xml
file "format"), it'll be copied into the war subfolder, as a sibling
of the *.nocache.js and *.cache.* files. You'd use GWT.getModuleBaseURL
() to reliably determine the name of this output folder (it's the
value of the rename-to attribute from your gwt.xml file, but in case
you change it, you won't have to update your code if you use
GWT.getModuleBaseURL() rather than hard-coding it)
--~--~---------~--~----~------------~-------~--~----~
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-toolkit@googlegroups.com
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home