hi again and again
ServletContext sc = this.getServletConfig().getServletContext();
BufferedWriter out = new BufferedWriter(new
FileWriter(sc.getRealPath("/blabla.txt")));
with this code writing problem is also solved.
but there is one point to notice: tomcat user must have the write
permission on the file.
thank you everyone
--
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.