now have done in this way..

try {
                String fileXml = new String();
                String s = new String();
                FileReader f = new FileReader("vini.xml");

                BufferedReader br = new BufferedReader(f);

                do {
                        s = br.readLine();
                    if (s!=null)
                        fileXml=s;
                } while (s!=null);

it works while debugging.. but when i deploy:
java.io.FileNotFoundException: vini.xml (No such file or
directory)java.io.FileNotFoundException: vini.xml (No such file or
directory)[Ljava.lang.StackTraceElement;@115126e
the file is present in this dir /var/lib/tomcat6/webapps/rpcTest0..
and i can't get the absolute path of f because there is no method.. grr

-- 
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.

Reply via email to