I have a servlet to which I pass a file name. 
I need to copy the file to another location (both server side). I'm happy that my copy 
code works provided the directory I'm copying to already exists (manually created). 
When I try and copy the file with a full directory path in front of it, it fails. If I 
try and create the directory within code that again fails. 
It only works with the full path if the full path already exists or it has no path. In 
which case it copies the file to the %JBOSS_HOME%/bin directory.

Is the server side file system locked out for servlets (except for %JBOSS_HOME%/bin)? 
If so is there a way to open up?

Thanks in advance,

Shaun

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828137#3828137

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828137


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to