putting files in tomcat application directory

Discussion in 'Java' started by asd, Jun 23, 2005.

  1. asd

    asd Guest

    Hi all,

    In my web application I load a file. In my servlet I specify that the
    file should be saved in System.getProperty("user.dir") expecting that
    the file would be saved in my application directory.

    But instead it goes to C:\Program Files\Apache Group\Tomcat 4.1.

    How do I make the file go to my application dir?

    Thanks in advance

    regards,

    ASD
    asd, Jun 23, 2005
    #1
    1. Advertising

  2. Andrew Thompson, Jun 23, 2005
    #2
    1. Advertising

  3. asd

    asd Guest

    I am sorry for that.
    asd, Jun 23, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Davy Marichael

    putting ASP.NET files online

    Davy Marichael, Mar 31, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    389
  2. Saurabh
    Replies:
    6
    Views:
    4,492
    Chris Smith
    May 30, 2004
  3. Joe
    Replies:
    0
    Views:
    1,662
  4. Christopher M. Lusardi
    Replies:
    1
    Views:
    345
    Michael Mair
    Nov 16, 2004
  5. Christopher M. Lusardi

    How To Reduce Number Files by Putting file1.c and file2.C Together

    Christopher M. Lusardi, Nov 16, 2004, in forum: C Programming
    Replies:
    1
    Views:
    309
    Michael Mair
    Nov 16, 2004
Loading...

Share This Page