hi again,
i could solve the reading problem with the fallowing code.
ServletContext sc = this.getServletConfig().getServletContext();
InputStream is = sc.getResourceAsStream("/blabla.txt");
BufferedReader input = new BufferedReader(new InputStreamReader(is));
when i use the lothar's way i saw that it's serching the file in "/usr/
share/tomcat5/" directory.
so if i use only the file name it doesn't search in the application
directory.
--
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.