Wednesday, January 6, 2016

getServletContext().getRealPath(File.separator) returns null in 2.6.1

I just updated my 2.5.1  GWT app to 2.6.1.  It all seems to work fine except that on the server side in my RPC handling code getServletContext().getRealPath(File.separator) returns null in 2.6.1 whereas in 2.5.1 it returned the local path: C:\Users\Paul\workspace\MyApp\war

Any idea how to correct this?


Note: When deployed out to my Tomcat linux sever it works correctly.  The problem is only when running from Eclipse in dev mode.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment