Hello GWTians

I am having a trouble in accessing a local folder inside my
application from the RemoteServiceServlet.

At client side it is OK with GWT.getHostPageBaseURL()+"images"

But i am not yet find a solution to access the same folder in my
server code i.e. from a RemoteServiceServlet.

I have the directory structure like:

GuestBook.war
--> WEB-INF
-->images      <------ i wanna access this folder at my server side
code
-->GuestBook.css
-->GuestBook.html

I have tried lot of methods like:


this.getThreadLocalRequest().getServletPath()+"../images"
this.getThreadLocalRequest().getContextPath()+"/images"

by all possible ways..

but it was not fruitful

Kindly advise how can I access any directory (created manualy) inside
my application war directory from a RemoteServiceServlet class..????


Thanks in advance.

Raul
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to