How to browse a Folder in a Web application developed using Java/J2EE

Discussion in 'Javascript' started by backstreetboy, Jun 17, 2007.

  1. It's possible to browse a single file using <input type="file"> but is
    there a work around for browsing a complete folder as it is , i hav
    such a requirement i think Javascript needs to be used.
    Any inputs abt how to achieve this or any links are appreciated.

    This Link did not help me , i get an error(PERMISSION DENIED)
    instead , did this help anyone if so how?

    regards ,
    backstreetboy, Jun 17, 2007
    1. Advertisements

  2. backstreetboy

    Evertjan. Guest

    backstreetboy wrote on 17 jun 2007 in comp.lang.javascript:
    No, it is not, the user browses his own folders/directories,
    to select a file to upload.

    You cannot "browse a file".
    Evertjan., Jun 17, 2007
    1. Advertisements

  3. backstreetboy

    Randy Webb Guest

    backstreetboy said the following on 6/17/2007 6:59 AM:
    No, you can not have the name of a folder as the value of a file input.
    If you want an entire folder uploaded, it will have to be done one file
    at a time.
    Randy Webb, Jun 17, 2007
  4. backstreetboy

    Evertjan. Guest

    Randy Webb wrote on 17 jun 2007 in comp.lang.javascript:
    Or 3 at a time?

    <input type='file'>file 1<br>
    <input type='file'>file 2<br>
    <input type='file'>file 3<br>
    <input type='submit'value='upload'>
    Evertjan., Jun 17, 2007
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.