the file is perfectly localized in the correct directory, i know
because the debug in eclipse works...!! it's here /var/lib/tomcat6/
webapps/rpcTest0 where rpcTest0 is the project.. boh

i'm from italy.. near modena, im a student of computer science at
unibo, it's about 3 weeks that i try to learn gwt cause i will have a
project for the university that need it.. this is just an exercise to
make practice in preparation of... the whole exercise is to read an
xml file and write it in the browser.. but if i can't read it i can't
go ahead.. uff

and what about you? are u italian too? whats your occupation?

On Apr 7, 2:36 pm, Giovanni Gaglione <[email protected]>
wrote:
> It seems that application doesn't find the file.
> Where is your file?
> It's possible that you must specify the file path better.
>
> Where are you from?
> What are you doing with GWT?
> Who are you?
>
> regards
>
> 2010/4/7 andrew19881123 <[email protected]>
>
>
>
> > 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]<google-web-toolkit%2Bunsubs 
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

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