On 11/6/2011 11:23 PM, Sabbia wrote:
Hi everyone!
I've developed a GWT-SmartGWT application using Eclipse. In this
application, a Java class from the server side must read some txt
files in a directory called Transcriptions. Working with Eclipse, I
had no problem at all to access to this
Gracias Jeffrey ;) So, as I've understood, the best thing is to check
if application is executing in production mode, and if not, use
GWT.getServletContext().getRealPath(my_app), right?
Thank you very much!
Cheers!!
On 7 nov, 14:59, Jeffrey Chimene jchim...@gmail.com wrote:
On 11/6/2011 11:23
On 11/07/2011 06:33 PM, Sabbia wrote:
Gracias Jeffrey ;) So, as I've understood, the best thing is to check
if application is executing in production mode, and if not, use
GWT.getServletContext().getRealPath(my_app), right?
Well, the exact mechanism that's inside the if(production) {} is up to
Ok Jeffrey, it's all clear now! I thought there was a way to set the
base url, but there is not, as you've said, I've to play with the
GWT.isProdMode and get the base url.
Thank you very much, you've been very, very helpful.
Greetings!!
P.S.: y buena suerte tambiƩn para ti ;)
On 8 nov, 02:57,
Hi everyone!
I've developed a GWT-SmartGWT application using Eclipse. In this
application, a Java class from the server side must read some txt
files in a directory called Transcriptions. Working with Eclipse, I
had no problem at all to access to this directory. I had located it
under the WAR