Hi

> in my initial client-server application I want to read a file, lets
> say 'index.txt', which I then want to pass to the client as string.
> Everything seems to be fine, however I get a file exception. So my
> question is, what is the server root directory at run-time? I tried
> several locations below 'war' but none of them helped.
>
> So can you tell me the path where 'index.txt' has to be installed,
> please?

You should be able to get it form the ServletContext.

-- 
Thanks
Paul

Paul Grenyer
e: [email protected]
w: http://www.marauder-consulting.co.uk
b: paulgrenyer.blogspot.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to