auhauha Io pure sono italiano!!!! di roma però. sto facendo la tesi per la laurea triennale in informatica...e utilizzo gwt da un mesetto o di più.
Hai settato i permessi per il filesystem come ti avevo suggerito? Se il file non ha il permesso di essere letto, tomcat non lo trova. Che io sappia, ci stanno anche i permessi di tomcat sui file, magari potrebbe dipendere da questo. Se sgoogli un pochino, potresti vedere se è il caso tuo, vedendo come si settano i permessi di tomcat. Usi firebug? ti può convenire usarlo per vedere nel codice se è tutto aposto, se c'è qualche errore javascript, non so se mi spiego. Ma cosa ci stai facendo con gwt? Sai per caso come creare un file lato server? ti è capitato di fare un operazione simile con gwt? saluti 2010/4/7 andrew19881123 <andrew19881...@gmail.com> > 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 <giovanni.gagli...@gmail.com> > 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 <andrew19881...@gmail.com> > > > > > > > > > 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 > google-web-tool...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com><google-web-toolkit%2Bunsubs > cr...@googlegroups.com> > > > . > > > 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 google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > 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 google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.