锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产一区福利,久久午夜影视,视频在线观看你懂的http://www.aygfsteel.com/sxt0823/category/21548.htmlzh-cnThu, 12 Apr 2007 17:00:19 GMTThu, 12 Apr 2007 17:00:19 GMT60[jsp]jspSmartUpload瀹炵幇鏂囦歡涓婁紶http://www.aygfsteel.com/sxt0823/articles/110111.htmlsxtsxtThu, 12 Apr 2007 03:03:00 GMThttp://www.aygfsteel.com/sxt0823/articles/110111.htmlhttp://www.aygfsteel.com/sxt0823/comments/110111.htmlhttp://www.aygfsteel.com/sxt0823/articles/110111.html#Feedback0http://www.aygfsteel.com/sxt0823/comments/commentRss/110111.htmlhttp://www.aygfsteel.com/sxt0823/services/trackbacks/110111.htmlindex.jsp浠g爜錛?/div>

<%@ page language="java" import="java.util.*" pageEncoding="GB2312"%>
<%
//String path = request.getContextPath();
//String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

  <head>
   
   
    <title>My JSP 'index.jsp' starting page</title>
   
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
   
    <!--
    <link rel="stylesheet" type="text/css" href="/blog/styles.css">
    -->
  </head>
 
  <body>
  鏂囦歡涓婁紶鑼冧緥-jspsmart
  <form name="form1"  method="post" action="Jspsmart.jsp"  enctype="multipart/form-data">
  <p> 涓婁紶鏂囦歡1:<INPUT type="file" name="File1" size="20"></p>
  <INPUT type="submit" value="涓婁紶">
  <INPUT type="reset" value="娓呴櫎">
  </form>
  </body>
</html>

Jspsmart.jsp浠g爜錛?/div>


<%@ page language="java" import="com.jspsmart.upload.*" pageEncoding="GB2312"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

  <head>
   
    <title>My JSP 'Jspsmart.jsp' starting page</title>
   
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">

  </head>
 
  <body>
    <jsp:useBean id="mySmartUpload" scope="page" class="com.jspsmart.upload.SmartUpload"/>
    <%
     int count=0;
     mySmartUpload.initialize(pageContext);
     mySmartUpload.setMaxFileSize(5*1024*1024);
     mySmartUpload.upload();
     out.print("mySmartUpload.upload()<br>");
     try{
     // mySmartUpload.getFiles().getFile(0).saveAs("D:\\aaa\\1212.rar",mySmartUpload.SAVE_PHYSICAL);
      count = mySmartUpload.save("file\\");
      out.print("count = mySmartUpload.save(d:\\aaa\\);<br>");
     }
     catch(Exception e){
      out.println(e.toString());
     }
    %>
    skdfjskfjksdjfj
    <br>
  </body>
</html>


鍏朵腑鍔犵矖鐨勭孩鑹插瓧浣撴槸蹇呴』瑕佹湁鐨勩?/div>

sxt 2007-04-12 11:03 鍙戣〃璇勮
]]> 主站蜘蛛池模板: 临邑县| 南充市| 抚顺县| 五莲县| 海伦市| 蓬安县| 北票市| 嫩江县| 犍为县| 剑河县| 南汇区| 利辛县| 罗田县| 徐闻县| 从化市| 潼南县| 奉节县| 马山县| 松阳县| 正镶白旗| 额尔古纳市| 桐乡市| 湟中县| 德阳市| 青州市| 突泉县| 石屏县| 虹口区| 云林县| 丰都县| 锡林郭勒盟| 丹寨县| 鸡东县| 荆门市| 海原县| 桦南县| 金山区| 永川市| 西盟| 苗栗市| 临城县|