On 4 sep, 15:38, "alex.d" <[EMAIL PROTECTED]> wrote:
> Following issue:
> I need to read a file from my public folder. The problem: the path in
> hosted mode(while developing) is different from the one after the app.
> is deployed. I tried it with:
> getServletContext().getRealPath()
> but it didn't work either.
>
> Is there any reliable way to get the path to public-folder?
Server-side? getResourceAsStream maybe? (and include your ...public
package in your JAR)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---