锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久久99免费视频,自拍偷拍亚洲,99久久激情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 鍙戣〃璇勮
]]> 主站蜘蛛池模板: 包头市| 衡阳县| 红原县| 五台县| 大埔县| 涿州市| 那曲县| 湘西| 印江| 甘洛县| 冷水江市| 临澧县| 鹤岗市| 芜湖县| 潜山县| 财经| 静海县| 民乐县| 洪江市| 哈尔滨市| 边坝县| 乌兰浩特市| 湖北省| 北辰区| 黄冈市| 建德市| 吉隆县| 乌拉特中旗| 独山县| 澄迈县| 彩票| 巴林左旗| 郑州市| 北海市| 庄浪县| 自治县| 綦江县| 武隆县| 常宁市| 孟州市| 金华市|