"jajoo" <ji*****@abv.bg> wrote in message
news:2b*************************@posting.google.co m...
Hi everyone,
I am trying to send files with multipart/form-date. Everything is ok
with the send.
But when I am receiving the files I should specify a directory where
the files to be saved. The problem is that Tomcat saves the files into
%CATALINA_HOME%/bin directory. I am wondering why? Why not into my
application directory?
The application directory is %CATALINA_HOME%/webapps/picture.
As a parameter of directory I am giving "." - which means - the same
directory.
Is there another solution except giving directory
"../webapps/pictures"
Tomcat is an application like any other. Any file operations it performs
will be in its current working directory unless you specify otherwise.