<strong>Getting the list of all file names of JSP & HTML Files from Server</strong>
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rajesh_G
Posted On:   Thursday, November 21, 2002 01:32 AM

Friends,



How can I get the names of all HTML and JSP files from the server. I am using Javawebserver. I tried by using File(directoryname). But in this the argument is taking only the absolute path ie., c:javawebserver2.0public_html. Its not taking http://localhost:8080/ as the path. Pls help
me. Thanks in advance

Rajesh

Re: <strong>Getting the list of all file names of JSP & HTML Files from Server</strong>

Posted By:   rajeev_kumar  
Posted On:   Thursday, November 21, 2002 07:18 AM

u have to give the physical path , relative path will not work..in File Object, u can try with URLConnection object
About | Sitemap | Contact