-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Raga,
On 4/3/2009 6:11 AM, raga2 wrote: > Running tomcat on linux. I've written a simple JSP script to create a > directory and a file. When I run it via tomcat, the code runs fine, no > errors, but the directory nor the file get created where I specified. So, no errors but it doesn't actually do what you expected? Most IO routines throw IOException if they are unable to do whatever it is you've asked them to do. Maybe add some logging to your application? Or, do you have code like this: try { .. do some IO stuff } catch (Throwable t) { /* do nothing */ } That'll do it. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAknWg3QACgkQ9CaO5/Lv0PBzywCglSS4R9G4eBlbBslvkpuKdXrK UwcAn0qPJ+oqD3f3Z/4tL7LTShADS/Pu =7sDf -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org