Results 1 to 2 of 2
Like Tree1Likes
  • 1 Post By Vinnie881

Thread: Directory structure of web app upload

  1. #1
    Vinnie881 is offline Member
    Join Date
    Nov 2015
    Chicago il
    Rep Power

    Default Directory structure of web app upload

    I am very new to Jsp programming, and I guess it's confusing going from php to a single war file

    I have a folder in my project web directory called uploads

    Currently I'm developing in eclipse and want my uploaded file to go to /uploads

    I run into an issue where when I launch from eclipse the uploaded file goes to uploads, but I can't access it until I right click my uploads folder and click refresh?

    Does this issue go away when I deploy it in a war format?

    Last question is in php I could set the folder to be accessible online or just locally, I can't see how I'd set this in a war file? An example let's say I have 2 directories /upload and /uploadlocal I want uploadlocal to only be accessible by the backend.

    Thanks so much in advance!
    Marcus Chan likes this.

  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Northern Virginia, United States
    Rep Power

    Default Re: Directory structure of web app upload

    I can't answer your question because I don't do any server programming. However, several years ago I did go thru the online book at this site. If you are new to JSP, then this is a real good resource.

    Free Online Version of Core Servlets and JavaServer Pages (Second Edition) in PDF

    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

Similar Threads

  1. Upload all the files from the directory
    By naveen chedella in forum Web Frameworks
    Replies: 0
    Last Post: 03-29-2010, 06:51 AM
  2. Zip Directory Structure
    By freestatedon in forum New To Java
    Replies: 2
    Last Post: 02-15-2010, 06:11 AM
  3. Directory Structure
    By rummy in forum New To Java
    Replies: 1
    Last Post: 01-21-2010, 12:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts