Hello,
I have problem with RequestBuilder. My code:
RequestBuilder requestBuilder = new RequestBuilder(RequestBuilder.GET,
"/myfile.html");
and when i execute this code, then requestBuilder try to get
myfile.html from
http://server/myfile.html
Now is everything ok, but when i deploy project to tomcat, then my
file will be in:
webapps/myproject/myfile.html
but requestBuilder will be try to get in ROOT directory :/
so i've changed to:
RequestBuilder requestBuilder = new RequestBuilder(RequestBuilder.GET,
"myfile.html");
without "/", but now my hosted mode try to get from
http://server/myproject/myfile.html
any idea how to resolve this problem ?
Thanks
Christopher Z.