Hi,
 first of all you should check that the directory where you have put
the file has public access (e.g.: not under WEB-INF). The server will
look for the file from where are you. E.g:

http://localhost/application/static/www/page.html

then you should put your xml file in:

/webapps/application/static/www/data/oi.xml

I hope it helps you.


Leo

On Sep 8, 1:42 pm, Anderson <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i would like to know how to put a servlet path in the setDataUrl
> method in a XMLTreeLoader.
>
> I put this code but it's not working...
>
> final XMLTreeLoader loader = new XMLTreeLoader();
> loader.setDataUrl("data/oi.xml"); //There is a directory in my server
> called data and a file called oi.xml
> loader.setMethod(Connection.GET);
>
> Thanks a lot
> Anderson
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" 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/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to