|
Advertisement
|
Forum posts by Ajay Kalidindi:1 page [ 1 ]
Posted in Java Answers Forum, Feb 27, 2003, 9:11 AM
Hi Environment : Linux 7.2JDK : 1.3Tomcat : 4.1.18APACHE : 1.3.27 (FYI)I can not get the following code to work form a jsp page:out.println("path : " + request.getContextPath()); File f = new File(request.getContextPath()); if (f.isDirectory()) { out.println(f.getName()+" is directory"); } File[] fs = f.listFiles(); if (fs != null) {...
1 page [ 1 ]
|