(这条文章已经被阅读了 27 次) 时间:2001-04-12 08:54:22 来源:szxyz (zjxyz) 原创-IT
dealLocalFile.java
————————————————
package container.staticsou;
import java.io.*;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.text.*;
import java.util.Locale;
import java.util.Date;
import http.*;
public class dealLocalFile{
File localfile=null;
String RequestSouc;
byte[] GetContent;
boolean ListDirectory=true;
public dealLocalFile(String RequestSouc){
boolean defaultname=false;
this.RequestSouc=RequestSouc;
if ( RequestSouc.endsWith(“/”) ){
String fn[]=jwsconf.HttpConfM(“DirectoryIndex”);
for (int i=0;i
Parent Directory
";
for(int i=0;i