Re: Tomcat write directory of received files????

From: Ryan Stewart (zzanNOtozz_at_gSPAMo.com)
Date: 01/28/04


Date: Tue, 27 Jan 2004 18:22:39 -0600


"jajoo" <jivkoto@abv.bg> wrote in message
news:2b392568.0401270411.33d093d@posting.google.com...
> 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.



Relevant Pages

  • Re: mod_jk2 + tomcat + java question
    ... > Does anybody have experience with tomcat en mod_jk? ... First, this seems to bite: ... I did not specify a JkWorkersFile in httpd.conf. ...
    (freebsd-questions)
  • Re: tomcat: how to release port 8080
    ... Actually, depending on the specific version which u are using, the port ... I have version 5 of tomcat, so I was wondering where I can specify that ...
    (comp.lang.java.programmer)
  • Error on Page
    ... send an e-mail with Yahoo! ... I did not specify the error I was ... receiving. ... Char: 20 ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Tomcat, jar files, and more
    ... I am new to Tomcat and am trying to update some of the files. ... to re-create the catalina.jar file, but am not quite sure how. ... Do I have to specify one or can I just rejar the ...
    (comp.lang.java.programmer)
  • Re: tomcat 5.0 on port 80
    ... You can specify a port to be used by modifying the file ... Tomcat and have that user own and run Tomcat. ...
    (comp.os.linux.misc)