<%@ page contentType="text/html; charset=gb2312" %>
<%@ page import="cn.com.jspsmart.upload.*"%>
<%
String tp=mySmartUpload.getRequest().getParameter("tp");
  File f;
 for (int i=0;i<fs.getCount();i++){
 f=fs.getFile(i);
 String path="/sc/xxfb/";   if (f.getFileName().length()>0){
      if(i==0){
          String filename="sctp"+f.getFileName().substring(f.getFileName().lastIndexOf("."),f.getFileName().length());
          f.saveAs(path+filename); //更改上传文件名
      tp=filename;
            }
   }
 }
if(tp==null){
tp="null";
}
%>