getServletContext().getRealPath("/")

Since RemoteServiceServlet is a subclass of HttpServlet

Will give you the path. This on server side ofcourse.

2012/2/22 Bill M <blinte...@aol.com>

> Hi all,
>
> Can someone explain to me how to call getServletContext() from within
> GWT?
>
> I need to obtain the servlet's real path so I can open a file.
>
> Could someone shoot me some sample code on how to do this?
>
> Thanks so much.
>
> PS - Are there any GWT books out there that are uptodate on the
> current features of GWT?
>  I haven't seen any.
>
> --
> 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.
>
>


-- 
ISC. Daniel Mauricio Patiño León.
Director ejecutivo
Liondev S.A. de C.V.

-- 
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