Monday, December 17, 2012

Re: GWT issue in reading file from classpath


Em segunda-feira, 17 de dezembro de 2012 05h23min34s UTC-2, shankar escreveu:


On Thursday, December 13, 2012 10:51:15 PM UTC+5:30, Jens wrote:
I am pretty sure that when you call System.currentTimeMillis() two times you get two different results because time moves on ;-)

-- J.

hi Jens,

thanks for your reply. lets say that file is hardcoded but still am unable to read it

 String fileName="CSV/Failures.csv";

 writer = new FileWriter(fileName);

GWT is about compiling JavaScript which runs in the browser.
Your code is clearly server side code running in some J2EE.
You will find Google is rich with links to articles about reading and writing files from web applications in J2EE web containers.

--
 P.
 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/atG4jJPl-X8J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment