锘??xml version="1.0" encoding="utf-8" standalone="yes"?>撸视在线观看免费视频,中文字幕在线播放网址,亚洲一区二区三区成人http://www.aygfsteel.com/patterns/category/8265.html紱葷鍘熶笂鑽夛紝涓宀佷竴鏋崳銆傞噹鐏儳涓嶅敖錛屾槬椋庡惞鍙堢敓銆? zh-cnTue, 27 Feb 2007 10:25:06 GMTTue, 27 Feb 2007 10:25:06 GMT60灝嗗簲鐢ㄤ粠Tomcat5涓婄Щ妞嶅埌Websphere6涓?/title><link>http://www.aygfsteel.com/patterns/archive/2006/03/08/tomcat5towebshpere6.html</link><dc:creator>閲庤崏</dc:creator><author>閲庤崏</author><pubDate>Wed, 08 Mar 2006 13:16:00 GMT</pubDate><guid>http://www.aygfsteel.com/patterns/archive/2006/03/08/tomcat5towebshpere6.html</guid><wfw:comment>http://www.aygfsteel.com/patterns/comments/34356.html</wfw:comment><comments>http://www.aygfsteel.com/patterns/archive/2006/03/08/tomcat5towebshpere6.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/patterns/comments/commentRss/34356.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/patterns/services/trackbacks/34356.html</trackback:ping><description><![CDATA[ <font size="2">鏈榪戝仛浜嗕竴涓」鐩紝璧峰垵涓轟簡蹇熻皟璇曪紝浣跨敤鐨勬槸Tomcat5錛屼絾鐢ㄦ埛鐨勫疄闄呯幆澧冩槸websphere6錛屽嚑緇忓懆鎶橈紝緇堜簬灝嗗簲鐢ㄦ墦鎴恊ar鍖咃紝鍙戝竷涓婂幓浜嗐傚湪榪欏皢濡備綍浣跨敤websphere5搴旂敤鎵撳寘宸ュ叿銆佸浣曞緩绔媤ebsphere6鏁版嵁搴撹繛鎺ユ睜浠ュ強濡備綍鍙戝竷搴旂敤鏁寸悊鍑烘潵錛屼互渚涙湁鍚屾牱闇姹傜殑鏈嬪弸鍙傝冦?br />聽聽聽聽聽聽聽聽聽<br />鐐瑰嚮濡備笅榪炴帴涓嬭澆錛?br />聽聽聽聽聽聽聽聽聽</font> <a href="/Files/patterns/Tomcat5ToWebsphere6Doc.rar"> <font size="2">灝唚eb搴旂敤浠嶵omcat5涓婄Щ妞嶅埌Websphere6涓婏紙word錛?/font> </a> <br /> <img src ="http://www.aygfsteel.com/patterns/aggbug/34356.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/patterns/" target="_blank">閲庤崏</a> 2006-03-08 21:16 <a href="http://www.aygfsteel.com/patterns/archive/2006/03/08/tomcat5towebshpere6.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>jfreechart鍦╳ebsphere6涓婄殑閮ㄧ講闂http://www.aygfsteel.com/patterns/archive/2006/03/08/jfreechartAtWebsphere6_80.html閲庤崏閲庤崏Wed, 08 Mar 2006 13:14:00 GMThttp://www.aygfsteel.com/patterns/archive/2006/03/08/jfreechartAtWebsphere6_80.htmlhttp://www.aygfsteel.com/patterns/comments/34355.htmlhttp://www.aygfsteel.com/patterns/archive/2006/03/08/jfreechartAtWebsphere6_80.html#Feedback0http://www.aygfsteel.com/patterns/comments/commentRss/34355.htmlhttp://www.aygfsteel.com/patterns/services/trackbacks/34355.html鐜錛?/STRONG>
   1銆亀ebsphere6錛屼嬌鐢ㄦ彃浠舵ā寮忥紝閫氳繃websphere鐨刪ttpserver鐨?0绔彛璁塊棶鍏秊2eeserver銆?BR>   2銆乯feechart錛屽父瑙勪嬌鐢ㄣ?BR>
闂錛?BR>   jfeechart鍥劇墖鐢熸垚娌℃湁闂錛屽氨鏄浘鐗囨樉紺轟笉浜嗭紝琛ㄧ幇涓哄乏涓婅鏈変竴涓弶銆?BR>
瑙e喅鏂規硶錛?/STRONG>
       涓嶈浣跨敤鎻掍歡妯″紡錛岄氳繃websphere鐨刪ttpserver璁塊棶鍏秊2eeserver錛屽皢j2eeserver鐨勭鍙g洿鎺ヨ涓?0錛屽浘鐗囧氨鏄劇ず姝e父銆?BR>
鎬濊冿細
jfreechart鐨勫浘鐗囨樉紺烘柟娉曟槸錛?BR>


<%
String pieGraphURL = request.getContextPath() + "/DisplayChart?filename=" + piefilename;
%>



鍐嶇湅涓涓婦isplayChart璋冪敤鐨勬牳蹇冩簮鐮侊細


public static void sendTempFile(File file, HttpServletResponse response,
                                    String mimeType) throws IOException {

        if (file.exists()) {
            BufferedInputStream bis = new BufferedInputStream(
                new FileInputStream(file)
            );

            //  Set HTTP headers
            if (mimeType != null) {
                response.setHeader("Content-Type", mimeType);
            }
            response.setHeader("Content-Length", String.valueOf(file.length()));
            SimpleDateFormat sdf = new SimpleDateFormat(
                "EEE, dd MMM yyyy HH:mm:ss z"
            );
            sdf.setTimeZone(TimeZone.getTimeZone("GMT"));
            response.setHeader(
                "Last-Modified", sdf.format(new Date(file.lastModified()))
            );

            BufferedOutputStream bos = new BufferedOutputStream(
                response.getOutputStream()
            );
            byte[] input = new byte[1024];
            boolean eof = false;
            while (!eof) {
                int length = bis.read(input);
                if (length == -1) {
                    eof = true;
                }
                else {
                    bos.write(input, 0, length);
                }
            }
            bos.flush();
            bis.close();
            bos.close();
        }
        else {
            throw new FileNotFoundException(file.getAbsolutePath());
        }
        return;
    }



鍙鍦╳eb欏甸潰涓婃樉紺烘椂鍒嗕袱姝ワ細
1銆佸垵濮嬪寲img瀹瑰櫒錛?BR>2銆佽皟鐢―isplayChart榪欎釜servlet灝嗗浘鐗囨暟鎹啓榪涙潵銆?BR>鍙槸鍦ㄨ蛋httpserver鏃剁浜屾涓嶄細璧蜂綔鐢ㄧ殑銆?BR>



閲庤崏 2006-03-08 21:14 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 若尔盖县| 祁连县| 谢通门县| 柘城县| 建瓯市| 屏东县| 启东市| 荆门市| 剑河县| 成安县| 浦江县| 来宾市| 湘潭县| 墨脱县| 昂仁县| 宣汉县| 武汉市| 驻马店市| 广昌县| 长乐市| 阜城县| 达尔| 兴文县| 宿松县| 汪清县| 萨嘎县| 五莲县| 高雄市| 全椒县| 兴仁县| 鹤岗市| 普格县| 麦盖提县| 台前县| 聂拉木县| 清水河县| 周口市| 平远县| 岑溪市| 壤塘县| 运城市|