Well joshiashutosh! the following code may helpful to you for showing the list of all uploaded files, <% String directory = request.getRealPath("uploadedFiles"); try{ File file = new File(directory); File[] content = file.listFiles(); for (int i=0; i<content.length; i++) { out.println("<LI>"+content[i].getName()+"</LI>"); } }catch(Exception e){ out.println(e); } %>