1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Jsp Code to traverse through a folder and print.

Discussion in 'JSP' started by nithinvg, Mar 20, 2012.

  1. nithinvg

    nithinvg New Member

    Joined:
    Mar 20, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    i have a requirement in jsp, where i need to iterate through a given folder. then return the file name. the file name should be in the form below.
    <li>
    Folder
    <ul>
    <li>
    Sub folder 1.1
    <ul>
    <li>sub folder 1.1.1</li>
    <li>sub folder 1.1.2</li>
    </ul>
    </li>
    <li>
    Sub folder 1.2
    </li>
    </ul>
    </li>
     

Share This Page