String realPath = servlet.getServletContext().getRealPath("/");
File resources = new File(realPath,ResourceServlet.relativePath);
File tresources = new File(resources,path);
File[] files = tresources.listFiles();
Vector mfiles = new Vector();
for( int i=0; i<files.length; i++ ) {
mfiles.add(new org.nextime.ion.backoffice.bean.File(files[i]));
}
request.setAttribute("files",mfiles);
// Forward to the next page