??xml version="1.0" encoding="utf-8" standalone="yes"?>在线观看视频你懂的,h视频在线免费,国产精品久久久久久久久久直播http://www.aygfsteel.com/leweslove/category/32006.html 永远也走不出q操蛋的围城...zh-cnWed, 04 Mar 2009 04:52:05 GMTWed, 04 Mar 2009 04:52:05 GMT60IPD ?CMMhttp://www.aygfsteel.com/leweslove/articles/257709.htmlleweslovelewesloveWed, 04 Mar 2009 02:33:00 GMThttp://www.aygfsteel.com/leweslove/articles/257709.htmlhttp://www.aygfsteel.com/leweslove/comments/257709.htmlhttp://www.aygfsteel.com/leweslove/articles/257709.html#Feedback0http://www.aygfsteel.com/leweslove/comments/commentRss/257709.htmlhttp://www.aygfsteel.com/leweslove/services/trackbacks/257709.htmlIntegrated Product Development 的羃写,?#8220;集成的品开?#8221;Q是C品开发管理的一U模式,它逐渐兴v于上个世U的西方企业。蓝色巨人IBM公司的重新崛起在很大E度上得益于IPD? 推行QIPD使IBM的多研发指标得C重大改善Q如Q新产品上市周期的大q度~短、研发资源浪Ҏ率的显著下降{。对于IT行业QIPD作ؓC品开 发管理模式堪U最佛_늚典范?

IPD的关键要素包括:跨部门的团队、结构化的流E、一的子流E(如:目计划与监控、数据管理、共用模块、技术管理、管道管理等Q、基于^衡记分卡的考核体系、IT支持{?

CMM(Capability Maturity Model)Q英文直译的意思是“能力成熟度模?#8221;。由卡内?梅隆大学的Y件工E协?Software Engineering Institute, USEI) 提出q完善,目的是通过一个合理的体系模型来对软gl织开发能力进行合理有效的评估Q帮助Y件组l在模型实施的过E中提高软gq程理能力Q降低Y件系l? 开发风险,在预定的目周期和预内开发出高质量的软g产品?

CMM一共分?U,1U最低,5U最高,3U是一个比较重要的分界U?

leweslove 2009-03-04 10:33 发表评论
]]>
什么是CSS hackhttp://www.aygfsteel.com/leweslove/articles/253173.htmlleweslovelewesloveWed, 04 Feb 2009 01:22:00 GMThttp://www.aygfsteel.com/leweslove/articles/253173.htmlhttp://www.aygfsteel.com/leweslove/comments/253173.htmlhttp://www.aygfsteel.com/leweslove/articles/253173.html#Feedback0http://www.aygfsteel.com/leweslove/comments/commentRss/253173.htmlhttp://www.aygfsteel.com/leweslove/services/trackbacks/253173.html  ׃不同的浏览器Q比如Internet Explorer 6,Internet Explorer 7,Mozilla Firefox{,对CSS的解析认识不一P因此会导致生成的面效果不一P得不到我们所需要的面效果?/p>

  q个时候我们就需要针对不同的览器去写不同的CSSQ让它能够同时兼容不同的览器,能在不同的浏览器中也能得到我们想要的面效果?/p>

  q个针对不同的浏览器写不同的CSS code的过E,叫CSS hack,也叫写CSS hack?/p>

  CSS Hack的原理是什?br /> ׃不同的浏览器对CSS的支持及解析l果不一Pq由于CSS中的优先U的关系。我们就可以Ҏq个来针对不同的览器来写不同的CSS?/p>

  比如IE6能识别下划线_和星?QIE7能识别星?Q当不能识别下划U_Q而firefox两个都不能认识。等{?/p>

   书写序Q一般是识别能力强的浏览器的CSS写在后面。下面如何写里面说得更详l些?/p>

  如何写CSS Hack
比如要分辨IE6和firefox两种览器,可以q样写:

  <style>  
div
{  
      background
:green; /* for firefox */  
      *background
:red;  /* for IE6 */  
}  
</style>
    <div>我在IE6中看到是U色的,在firefox中看到是l色的?lt;/div>  
   
<style>
    div
{ 
        background
:green; /* for firefox */    
        *background
:red;  /* for IE6 */
   
}
   
</style>
    <div>我在IE6中看到是U色的,在firefox中看到是l色的?lt;/div>

 

  解释一下:

  上面的css在firefox中,它是认识不了后面的那个带星号*的东东是什么的Q于是将它过滤掉Q不予理睬,解析得到的结果是:div{background:green},于是理所当然q个div的背景是l色的?/p>

  在IE6中呢Q它两个background都能识别出来Q它解析得到的结果是:div{background:green;background:red;},于是Ҏ优先U别Q处在后面的red的优先高,于是当然q个div的背景颜色就是红色的了?/p>

  CSS hack:区分IE6QIE7Qfirefox区别不同览器,CSS hack写法Q?/p>

  ?span style="color: #ff0000;">别IE6与FFQ?br />        background:orange;*background:blue;

  区别IE6与IE7Q?br />        background:green !important;background:blue;

  区别IE7与FFQ?br />        background:orange; *background:green;

  区别FFQIE7QIE6Q?br />        background:orange;*background:green !important;*background:blue;

  注:

    IE都能识别*;标准览?如FF)不能识别*Q?br /> IE6能识?Q但不能识别 !important,
IE7能识?Q也能识?important;
FF不能识别*Q但能识?important;

   IE6 IE7 FF
* √ √ ×
!important × √ √

  另外再补充一个,下划U?_",
IE6支持下划U,IE7和firefox均不支持下划Uѝ?/p>

  于是大家q可以这h区分IE6QIE7Qfirefox
: background:orange;*background:green;_background:blue;

  注:不管是什么方法,书写的顺序都是firefox的写在前面,IE7的写在中_IE6的写在最后面?/p>

  附:CSS的各U浏览器兼容一栏表




leweslove 2009-02-04 09:22 发表评论
]]>
6?0L一些杂?/title><link>http://www.aygfsteel.com/leweslove/articles/211760.html</link><dc:creator>leweslove</dc:creator><author>leweslove</author><pubDate>Mon, 30 Jun 2008 13:55:00 GMT</pubDate><guid>http://www.aygfsteel.com/leweslove/articles/211760.html</guid><wfw:comment>http://www.aygfsteel.com/leweslove/comments/211760.html</wfw:comment><comments>http://www.aygfsteel.com/leweslove/articles/211760.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/leweslove/comments/commentRss/211760.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/leweslove/services/trackbacks/211760.html</trackback:ping><description><![CDATA[1?br /> 通过get发放传递中文参数时会有q产生。避免此问题的方法一U是更改tomcat中设|。另一U是改get为post<br /> tomcat中应该修攚w|文件server.xml中的~码讄?utf-8或者GBK<br /> //代码<br />     <div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #0000ff;"><</span><span style="color: #800000;">Connector </span><span style="color: #ff0000;">port</span><span style="color: #0000ff;">="8080"</span><span style="color: #ff0000;"><br />                maxThreads</span><span style="color: #0000ff;">="150"</span><span style="color: #ff0000;"> minSpareThreads</span><span style="color: #0000ff;">="25"</span><span style="color: #ff0000;"> maxSpareThreads</span><span style="color: #0000ff;">="75"</span><span style="color: #ff0000;"><br />                enableLookups</span><span style="color: #0000ff;">="false"</span><span style="color: #ff0000;"> redirectPort</span><span style="color: #0000ff;">="8443"</span><span style="color: #ff0000;"> acceptCount</span><span style="color: #0000ff;">="100"</span><span style="color: #ff0000;"><br />                debug</span><span style="color: #0000ff;">="0"</span><span style="color: #ff0000;"> connectionTimeout</span><span style="color: #0000ff;">="20000"</span><span style="color: #ff0000;"><br />                disableUploadTimeout</span><span style="color: #0000ff;">="true"</span><span style="color: #ff0000;"> URIEncoding</span><span style="color: #0000ff;">="UTF-8或GBK"</span><span style="color: #0000ff;">/></span></div> <br /> 2?br /> 解决下蝲附g时文件名中文q问题 需要在讄下蝲文g时把名字的编码改?ISO8859-1"<br /> //代码<br /> <div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #000000;">JspFileDownload jfd </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">new</span><span style="color: #000000;"> JspFileDownload();<br /> jfd.setResponse(response);<br /> jfd.setDownType(</span><span style="color: #000000;">0</span><span style="color: #000000;">);<br /> jfd.setDisFileName(URLEncoder.encode(request.getParameter(</span><span style="color: #000000;">"</span><span style="color: #000000;">filename</span><span style="color: #000000;">"</span><span style="color: #000000;">),</span><span style="color: #000000;">"</span><span style="color: #000000;">ISO8859_1</span><span style="color: #000000;">"</span><span style="color: #000000;">));<br /> </span></div> <br /> 3?br /> 在一?lt;span/>中鼠标UM之后便手指是在span块中加入<br /> <div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #0000ff;"><</span><span style="color: #800000;">span </span><span style="color: #ff0000;">style</span><span style="color: #0000ff;">="cursor:hand"</span><span style="color: #0000ff;">></</span><span style="color: #800000;">span</span><span style="color: #0000ff;">></span></div> 使其变色?br /> <div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #0000ff;"><</span><span style="color: #800000;">span </span><span style="color: #ff0000;">style</span><span style="color: #0000ff;">="color:blue"</span><span style="color: #0000ff;">></</span><span style="color: #800000;">span</span><span style="color: #0000ff;">></span></div> <br /> 4?br /> 通过JS佉K面蟩转其中一个方?br /> <div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #000000;">window.location.href</span><span style="color: #000000;">=</span><span style="color: #000000;">""</span><span style="color: #000000;">;</span></div> <br /> <br /> 用JS打开一个新H口<br /> <div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #000000;">window.open(</span><span style="color: #000000;">"</span><span style="color: #000000;">地址</span><span style="color: #000000;">"</span><span style="color: #000000;">, </span><span style="color: #000000;">"</span><span style="color: #000000;">popupwin</span><span style="color: #000000;">"</span><span style="color: #000000;">, </span><span style="color: #000000;">"</span><span style="color: #000000;">height=</span><span style="color: #000000;">"</span><span style="color: #000000;">+</span><span style="color: #000000;">h</span><span style="color: #000000;">+</span><span style="color: #000000;">"</span><span style="color: #000000;">, width=</span><span style="color: #000000;">"</span><span style="color: #000000;">+</span><span style="color: #000000;">w</span><span style="color: #000000;">+</span><span style="color: #000000;"><br />           </span><span style="color: #000000;">"</span><span style="color: #000000;">, top=</span><span style="color: #000000;">"</span><span style="color: #000000;">+</span><span style="color: #000000;">top</span><span style="color: #000000;">+</span><span style="color: #000000;">"</span><span style="color: #000000;">, left=</span><span style="color: #000000;">"</span><span style="color: #000000;">+</span><span style="color: #000000;">left</span><span style="color: #000000;">+</span><span style="color: #000000;">"</span><span style="color: #000000;">, toolbar=0, menubar=0, scrollbars=1, resizable=0,location=0, status=1</span><span style="color: #000000;">"</span><span style="color: #000000;">);</span></div> <br /> <br /> 强制h爉面ƈ且关闭本H口<br /> <div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #000000;">window.opener.location.href</span><span style="color: #000000;">=</span><span style="color: #000000;">window.opener.location.href;<br /> window.close();</span></div> <br /> <br /> 5?br /> servlet中的跌{面<br /> <div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #000000;">request.getRequestDispatcher(</span><span style="color: #000000;">"</span><span style="color: #000000;">地址</span><span style="color: #000000;">"</span><span style="color: #000000;">).forward(request,response);</span></div> <br /> 6?br /> q是一个HQL查询Ҏ<br /> <div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #0000ff;">public</span><span style="color: #000000;"> List</span><span style="color: #000000;"><</span><span style="color: #000000;">SysInfomation</span><span style="color: #000000;">></span><span style="color: #000000;"> findByUser(String user, </span><span style="color: #0000ff;">int</span><span style="color: #000000;"> pageCount, </span><span style="color: #0000ff;">int</span><span style="color: #000000;"> page) {<br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> TODO Auto-generated method stub</span><span style="color: #008000;"><br /> </span><span style="color: #000000;">        String hql </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #000000;">"</span><span style="color: #000000;">from SysInfomation f where f.style = 1 and (f.fankuiren = '</span><span style="color: #000000;">"</span><span style="color: #000000;">+</span><span style="color: #000000;"> user </span><span style="color: #000000;">+</span><span style="color: #000000;"> </span><span style="color: #000000;">"</span><span style="color: #000000;">' or f.shoujianren = '</span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"> user </span><span style="color: #000000;">+</span><span style="color: #000000;">"</span><span style="color: #000000;">') order by f.isread</span><span style="color: #000000;">"</span><span style="color: #000000;">;<br />         </span><span style="color: #0000ff;">return</span><span style="color: #000000;"> </span><span style="color: #0000ff;">super</span><span style="color: #000000;">.find(hql, </span><span style="color: #0000ff;">null</span><span style="color: #000000;">, pageCount, page);<br />     }</span></div> <br /> <br /> <img src ="http://www.aygfsteel.com/leweslove/aggbug/211760.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/leweslove/" target="_blank">leweslove</a> 2008-06-30 21:55 <a href="http://www.aygfsteel.com/leweslove/articles/211760.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>BIRT的图片问题?/title><link>http://www.aygfsteel.com/leweslove/articles/209026.html</link><dc:creator>leweslove</dc:creator><author>leweslove</author><pubDate>Wed, 18 Jun 2008 15:51:00 GMT</pubDate><guid>http://www.aygfsteel.com/leweslove/articles/209026.html</guid><wfw:comment>http://www.aygfsteel.com/leweslove/comments/209026.html</wfw:comment><comments>http://www.aygfsteel.com/leweslove/articles/209026.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/leweslove/comments/commentRss/209026.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/leweslove/services/trackbacks/209026.html</trackback:ping><description><![CDATA[当我做完使用API Servlet部v能够接受参数以后 发现一个新的问题又来了Q就是在报表中生成的<span style="color: red;">囄和chart都是以链接本地地址</span>存在的,那要是放在服务器上,别的机子讉K时会出现囄不可用的问题。经q查一pd资料l于把问题解决了。具体原理是什么其实我也不太了解,BIRT的API我还是没怎么好好读,先把代码贴到q里再说吧,具体用的方式前面已经写过一个详l的文档了?br /> <div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #008080;">  1</span> <span style="color: #0000ff;">package</span><span style="color: #000000;"> cn.com.maxtech.fileupload;<br /> </span><span style="color: #008080;">  2</span> <span style="color: #000000;"><br /> </span><span style="color: #008080;">  3</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> java.io.IOException;<br /> </span><span style="color: #008080;">  4</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> java.util.Enumeration;<br /> </span><span style="color: #008080;">  5</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> java.util.HashMap;<br /> </span><span style="color: #008080;">  6</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> java.util.Map;<br /> </span><span style="color: #008080;">  7</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> java.util.logging.Level;<br /> </span><span style="color: #008080;">  8</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> java.util.logging.Logger;<br /> </span><span style="color: #008080;">  9</span> <span style="color: #000000;"><br /> </span><span style="color: #008080;"> 10</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> javax.servlet.ServletContext;<br /> </span><span style="color: #008080;"> 11</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> javax.servlet.ServletException;<br /> </span><span style="color: #008080;"> 12</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> javax.servlet.http.HttpServlet;<br /> </span><span style="color: #008080;"> 13</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> javax.servlet.http.HttpServletRequest;<br /> </span><span style="color: #008080;"> 14</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> javax.servlet.http.HttpServletResponse;<br /> </span><span style="color: #008080;"> 15</span> <span style="color: #000000;"><br /> </span><span style="color: #008080;"> 16</span> <span style="color: #000000;"><br /> </span><span style="color: #008080;"> 17</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> org.eclipse.birt.report.engine.api.EngineConstants;<br /> </span><span style="color: #008080;"> 18</span> <span style="color: #000000;"><br /> </span><span style="color: #008080;"> 19</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> org.eclipse.birt.report.engine.api.HTMLRenderContext;<br /> </span><span style="color: #008080;"> 20</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> org.eclipse.birt.report.engine.api.HTMLRenderOption;<br /> </span><span style="color: #008080;"> 21</span> <span style="color: #000000;"><br /> </span><span style="color: #008080;"> 22</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> org.eclipse.birt.report.engine.api.EngineConfig;<br /> </span><span style="color: #008080;"> 23</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> org.eclipse.birt.report.engine.api.HTMLActionHandler;<br /> </span><span style="color: #008080;"> 24</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> org.eclipse.birt.report.engine.api.HTMLEmitterConfig;<br /> </span><span style="color: #008080;"> 25</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> org.eclipse.birt.report.engine.api.HTMLServerImageHandler;<br /> </span><span style="color: #008080;"> 26</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> org.eclipse.birt.report.engine.api.IReportEngine;<br /> </span><span style="color: #008080;"> 27</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> org.eclipse.birt.report.engine.api.IReportRunnable;<br /> </span><span style="color: #008080;"> 28</span> <span style="color: #0000ff;">import</span><span style="color: #000000;"> org.eclipse.birt.report.engine.api.IRunAndRenderTask;<br /> </span><span style="color: #008080;"> 29</span> <span style="color: #000000;">  <br /> </span><span style="color: #008080;"> 30</span> <span style="color: #000000;"><br /> </span><span style="color: #008080;"> 31</span> <span style="color: #0000ff;">public</span><span style="color: #000000;"> </span><span style="color: #0000ff;">class</span><span style="color: #000000;"> WebReport </span><span style="color: #0000ff;">extends</span><span style="color: #000000;"> HttpServlet {<br /> </span><span style="color: #008080;"> 32</span> <span style="color: #000000;"><br /> </span><span style="color: #008080;"> 33</span> <span style="color: #008000;">/**</span><span style="color: #008000;"><br /> </span><span style="color: #008080;"> 34</span> <span style="color: #008000;"> * <br /> </span><span style="color: #008080;"> 35</span> <span style="color: #008000;"> </span><span style="color: #008000;">*/</span><span style="color: #000000;"><br /> </span><span style="color: #008080;"> 36</span> <span style="color: #0000ff;">private</span><span style="color: #000000;"> </span><span style="color: #0000ff;">static</span><span style="color: #000000;"> </span><span style="color: #0000ff;">final</span><span style="color: #000000;"> </span><span style="color: #0000ff;">long</span><span style="color: #000000;"> serialVersionUID </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #000000;">1L</span><span style="color: #000000;">;<br /> </span><span style="color: #008080;"> 37</span> <span style="color: #008000;">/**</span><span style="color: #008000;"><br /> </span><span style="color: #008080;"> 38</span> <span style="color: #008000;"> * Constructor of the object.<br /> </span><span style="color: #008080;"> 39</span> <span style="color: #008000;"> </span><span style="color: #008000;">*/</span><span style="color: #000000;"><br /> </span><span style="color: #008080;"> 40</span> <span style="color: #0000ff;">private</span><span style="color: #000000;"> IReportEngine birtReportEngine </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">null</span><span style="color: #000000;">;<br /> </span><span style="color: #008080;"> 41</span> <span style="color: #0000ff;">protected</span><span style="color: #000000;"> </span><span style="color: #0000ff;">static</span><span style="color: #000000;"> Logger logger </span><span style="color: #000000;">=</span><span style="color: #000000;"> Logger.getLogger( </span><span style="color: #000000;">"</span><span style="color: #000000;">org.eclipse.birt</span><span style="color: #000000;">"</span><span style="color: #000000;"> );<br /> </span><span style="color: #008080;"> 42</span> <span style="color: #000000;"><br /> </span><span style="color: #008080;"> 43</span> <span style="color: #0000ff;">public</span><span style="color: #000000;"> WebReport() {<br /> </span><span style="color: #008080;"> 44</span> <span style="color: #000000;"> </span><span style="color: #0000ff;">super</span><span style="color: #000000;">();<br /> </span><span style="color: #008080;"> 45</span> <span style="color: #000000;">}<br /> </span><span style="color: #008080;"> 46</span> <span style="color: #000000;"><br /> </span><span style="color: #008080;"> 47</span> <span style="color: #008000;">/**</span><span style="color: #008000;"><br /> </span><span style="color: #008080;"> 48</span> <span style="color: #008000;"> * Destruction of the servlet. <br /> </span><span style="color: #008080;"> 49</span> <span style="color: #008000;"> </span><span style="color: #008000;">*/</span><span style="color: #000000;"><br /> </span><span style="color: #008080;"> 50</span> <span style="color: #0000ff;">public</span><span style="color: #000000;"> </span><span style="color: #0000ff;">void</span><span style="color: #000000;"> destroy() {<br /> </span><span style="color: #008080;"> 51</span> <span style="color: #000000;"> </span><span style="color: #0000ff;">super</span><span style="color: #000000;">.destroy(); <br /> </span><span style="color: #008080;"> 52</span> <span style="color: #000000;"> BirtEngine.destroyBirtEngine();<br /> </span><span style="color: #008080;"> 53</span> <span style="color: #000000;">}<br /> </span><span style="color: #008080;"> 54</span> <span style="color: #000000;"><br /> </span><span style="color: #008080;"> 55</span> <span style="color: #000000;"><br /> </span><span style="color: #008080;"> 56</span> <span style="color: #008000;">/**</span><span style="color: #008000;"><br /> </span><span style="color: #008080;"> 57</span> <span style="color: #008000;"> * The doGet method of the servlet. <br /> </span><span style="color: #008080;"> 58</span> <span style="color: #008000;"> *<br /> </span><span style="color: #008080;"> 59</span> <span style="color: #008000;"> </span><span style="color: #008000;">*/</span><span style="color: #000000;"><br /> </span><span style="color: #008080;"> 60</span> <span style="color: #0000ff;">public</span><span style="color: #000000;"> </span><span style="color: #0000ff;">void</span><span style="color: #000000;"> doGet(HttpServletRequest req, HttpServletResponse resp)<br /> </span><span style="color: #008080;"> 61</span> <span style="color: #000000;">  </span><span style="color: #0000ff;">throws</span><span style="color: #000000;"> ServletException, IOException {<br /> </span><span style="color: #008080;"> 62</span> <span style="color: #000000;">    <br /> </span><span style="color: #008080;"> 63</span> <span style="color: #000000;">  Map m </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">new</span><span style="color: #000000;"> HashMap();<br /> </span><span style="color: #008080;"> 64</span> <span style="color: #000000;">  Enumeration names </span><span style="color: #000000;">=</span><span style="color: #000000;"> req.getParameterNames();<br /> </span><span style="color: #008080;"> 65</span> <span style="color: #000000;">  </span><span style="color: #0000ff;">while</span><span style="color: #000000;"> (names.hasMoreElements()) {<br /> </span><span style="color: #008080;"> 66</span> <span style="color: #000000;">      String name </span><span style="color: #000000;">=</span><span style="color: #000000;">(String)names.nextElement();<br /> </span><span style="color: #008080;"> 67</span> <span style="color: #000000;">      String value </span><span style="color: #000000;">=</span><span style="color: #000000;"> req.getParameter(name);<br /> </span><span style="color: #008080;"> 68</span> <span style="color: #000000;">      </span><span style="color: #0000ff;">if</span><span style="color: #000000;"> (name.trim().equals(</span><span style="color: #000000;">"</span><span style="color: #000000;">ReportName</span><span style="color: #000000;">"</span><span style="color: #000000;">) </span><span style="color: #000000;">||</span><span style="color: #000000;"> name.trim().equals(</span><span style="color: #000000;">"</span><span style="color: #000000;">action</span><span style="color: #000000;">"</span><span style="color: #000000;">) </span><span style="color: #000000;">||</span><span style="color: #000000;"> value </span><span style="color: #000000;">==</span><span style="color: #000000;"> </span><span style="color: #0000ff;">null</span><span style="color: #000000;"> </span><span style="color: #000000;">||</span><span style="color: #000000;"> value.trim().equals(</span><span style="color: #000000;">""</span><span style="color: #000000;">)) {<br /> </span><span style="color: #008080;"> 69</span> <span style="color: #000000;">          <br /> </span><span style="color: #008080;"> 70</span> <span style="color: #000000;">      } </span><span style="color: #0000ff;">else</span><span style="color: #000000;"> {<br /> </span><span style="color: #008080;"> 71</span> <span style="color: #000000;">          m.put(name, value);<br /> </span><span style="color: #008080;"> 72</span> <span style="color: #000000;">          System.out.print(name </span><span style="color: #000000;">+</span><span style="color: #000000;"> </span><span style="color: #000000;">"</span><span style="color: #000000;">---></span><span style="color: #000000;">"</span><span style="color: #000000;">);<br /> </span><span style="color: #008080;"> 73</span> <span style="color: #000000;">          System.out.println(m.get(name));<br /> </span><span style="color: #008080;"> 74</span> <span style="color: #000000;">      }<br /> </span><span style="color: #008080;"> 75</span> <span style="color: #000000;">      <br /> </span><span style="color: #008080;"> 76</span> <span style="color: #000000;">  }<br /> </span><span style="color: #008080;"> 77</span> <span style="color: #000000;">  <br /> </span><span style="color: #008080;"> 78</span> <span style="color: #000000;">  ServletContext sc </span><span style="color: #000000;">=</span><span style="color: #000000;"> req.getSession().getServletContext();<br /> </span><span style="color: #008080;"> 79</span> <span style="color: #000000;">  <br /> </span><span style="color: #008080;"> 80</span> <span style="color: #000000;">  </span><span style="color: #0000ff;">this</span><span style="color: #000000;">.birtReportEngine </span><span style="color: #000000;">=</span><span style="color: #000000;"> BirtEngine.getBirtEngine(sc);<br /> </span><span style="color: #008080;"> 81</span> <span style="color: #000000;">  EngineConfig config </span><span style="color: #000000;">=</span><span style="color: #000000;"> birtReportEngine.getConfig();<br /> </span><span style="color: #008080;"> 82</span> <span style="color: #000000;">  HTMLEmitterConfig emitterConfig </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">new</span><span style="color: #000000;"> HTMLEmitterConfig( );   <br /> </span><span style="color: #008080;"> 83</span> <span style="color: #000000;">  emitterConfig.setActionHandler( </span><span style="color: #0000ff;">new</span><span style="color: #000000;"> HTMLActionHandler( ) );   <br /> </span><span style="color: #008080;"> 84</span> <span style="color: #000000;">  HTMLServerImageHandler imageHandler </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">new</span><span style="color: #000000;"> HTMLServerImageHandler( );   <br /> </span><span style="color: #008080;"> 85</span> <span style="color: #000000;">  emitterConfig.setImageHandler( imageHandler ); <br /> </span><span style="color: #008080;"> 86</span> <span style="color: #000000;">  <br /> </span><span style="color: #008080;"> 87</span> <span style="color: #000000;">  config.getEmitterConfigs( ).put( </span><span style="color: #000000;">"</span><span style="color: #000000;">html</span><span style="color: #000000;">"</span><span style="color: #000000;">, emitterConfig );<br /> </span><span style="color: #008080;"> 88</span> <span style="color: #000000;">  <br /> </span><span style="color: #008080;"> 89</span> <span style="color: #000000;">  <br /> </span><span style="color: #008080;"> 90</span> <span style="color: #000000;"> resp.setContentType(</span><span style="color: #000000;">"</span><span style="color: #000000;">text/html</span><span style="color: #000000;">"</span><span style="color: #000000;">);<br /> </span><span style="color: #008080;"> 91</span> <span style="color: #000000;"> </span><span style="color: #008000;">//</span><span style="color: #008000;">resp.setContentType( "application/pdf" ); <br /> </span><span style="color: #008080;"> 92</span> <span style="color: #008000;"> </span><span style="color: #008000;">//</span><span style="color: #008000;">resp.setHeader ("Content-Disposition","inline; filename=test.pdf");  </span><span style="color: #008000;"><br /> </span><span style="color: #008080;"> 93</span> <span style="color: #000000;"> String reportPath </span><span style="color: #000000;">=</span><span style="color: #000000;"> req.getParameter(</span><span style="color: #000000;">"</span><span style="color: #000000;">reportPath</span><span style="color: #000000;">"</span><span style="color: #000000;">);<br /> </span><span style="color: #008080;"> 94</span> <span style="color: #000000;"> String reportName </span><span style="color: #000000;">=</span><span style="color: #000000;"> req.getParameter(</span><span style="color: #000000;">"</span><span style="color: #000000;">ReportName</span><span style="color: #000000;">"</span><span style="color: #000000;">);<br /> </span><span style="color: #008080;"> 95</span> <span style="color: #000000;"><br /> </span><span style="color: #008080;"> 96</span> <span style="color: #000000;"> <br /> </span><span style="color: #008080;"> 97</span> <span style="color: #000000;"> </span><span style="color: #008000;">//</span><span style="color: #008000;">setup image directory</span><span style="color: #008000;"><br /> </span><span style="color: #008080;"> 98</span> <span style="color: #000000;"> HTMLRenderContext renderContext </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">new</span><span style="color: #000000;"> HTMLRenderContext();<br /> </span><span style="color: #008080;"> 99</span> <span style="color: #000000;"> renderContext.setBaseImageURL(req.getContextPath()</span><span style="color: #000000;">+</span><span style="color: #000000;">"</span><span style="color: #000000;">/images</span><span style="color: #000000;">"</span><span style="color: #000000;">);<br /> </span><span style="color: #008080;">100</span> <span style="color: #000000;"> renderContext.setImageDirectory(sc.getRealPath(</span><span style="color: #000000;">"</span><span style="color: #000000;">/images</span><span style="color: #000000;">"</span><span style="color: #000000;">));<br /> </span><span style="color: #008080;">101</span> <span style="color: #000000;"> <br /> </span><span style="color: #008080;">102</span> <span style="color: #000000;"> renderContext.setSupportedImageFormats(</span><span style="color: #000000;">"</span><span style="color: #000000;">JPG;PNG;BMP;SVG</span><span style="color: #000000;">"</span><span style="color: #000000;">); <br /> </span><span style="color: #008080;">103</span> <span style="color: #000000;"> <br /> </span><span style="color: #008080;">104</span> <span style="color: #000000;"> logger.log( Level.FINE, </span><span style="color: #000000;">"</span><span style="color: #000000;">image directory </span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"> sc.getRealPath(</span><span style="color: #000000;">"</span><span style="color: #000000;">/images</span><span style="color: #000000;">"</span><span style="color: #000000;">));  <br /> </span><span style="color: #008080;">105</span> <span style="color: #000000;"> System.out.println(</span><span style="color: #000000;">"</span><span style="color: #000000;">stdout image directory </span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"> sc.getRealPath(</span><span style="color: #000000;">"</span><span style="color: #000000;">/images</span><span style="color: #000000;">"</span><span style="color: #000000;">));<br /> </span><span style="color: #008080;">106</span> <span style="color: #000000;"> System.out.println(</span><span style="color: #000000;">"</span><span style="color: #000000;">stdout image directory </span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"> renderContext.getBaseImageURL());<br /> </span><span style="color: #008080;">107</span> <span style="color: #000000;"> <br /> </span><span style="color: #008080;">108</span> <span style="color: #000000;"> HashMap</span><span style="color: #000000;"><</span><span style="color: #000000;">String, HTMLRenderContext</span><span style="color: #000000;">></span><span style="color: #000000;"> contextMap </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">new</span><span style="color: #000000;"> HashMap</span><span style="color: #000000;"><</span><span style="color: #000000;">String, HTMLRenderContext</span><span style="color: #000000;">></span><span style="color: #000000;">();<br /> </span><span style="color: #008080;">109</span> <span style="color: #000000;"> contextMap.put( EngineConstants.APPCONTEXT_HTML_RENDER_CONTEXT, renderContext );<br /> </span><span style="color: #008080;">110</span> <span style="color: #000000;"> <br /> </span><span style="color: #008080;">111</span> <span style="color: #000000;"> IReportRunnable design;<br /> </span><span style="color: #008080;">112</span> <span style="color: #000000;"> </span><span style="color: #0000ff;">try</span><span style="color: #000000;"><br /> </span><span style="color: #008080;">113</span> <span style="color: #000000;"> {<br /> </span><span style="color: #008080;">114</span> <span style="color: #000000;">  </span><span style="color: #008000;">//</span><span style="color: #008000;">Open report design</span><span style="color: #008000;"><br /> </span><span style="color: #008080;">115</span> <span style="color: #000000;">  design </span><span style="color: #000000;">=</span><span style="color: #000000;"> birtReportEngine.openReportDesign( sc.getRealPath(</span><span style="color: #000000;">"</span><span style="color: #000000;">/upload/baobiao/</span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"> reportPath)</span><span style="color: #000000;">+</span><span style="color: #000000;">"</span><span style="color: #000000;">/</span><span style="color: #000000;">"</span><span style="color: #000000;">+</span><span style="color: #000000;">reportName );<br /> </span><span style="color: #008080;">116</span> <span style="color: #000000;">  </span><span style="color: #008000;">//</span><span style="color: #008000;">create task to run and render report</span><span style="color: #008000;"><br /> </span><span style="color: #008080;">117</span> <span style="color: #000000;">  IRunAndRenderTask task </span><span style="color: #000000;">=</span><span style="color: #000000;"> birtReportEngine.createRunAndRenderTask( design );  <br /> </span><span style="color: #008080;">118</span> <span style="color: #000000;">  task.setAppContext( contextMap );<br /> </span><span style="color: #008080;">119</span> <span style="color: #000000;">  <br /> </span><span style="color: #008080;">120</span> <span style="color: #000000;">  </span><span style="color: #008000;">//</span><span style="color: #008000;">set output options</span><span style="color: #008000;"><br /> </span><span style="color: #008080;">121</span> <span style="color: #000000;">  HTMLRenderOption options </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">new</span><span style="color: #000000;"> HTMLRenderOption();<br /> </span><span style="color: #008080;">122</span> <span style="color: #000000;">  options.setOutputFormat(HTMLRenderOption.OUTPUT_FORMAT_HTML);<br /> </span><span style="color: #008080;">123</span> <span style="color: #000000;">  </span><span style="color: #008000;">//</span><span style="color: #008000;">options.setOutputFormat(HTMLRenderOption.OUTPUT_FORMAT_PDF);</span><span style="color: #008000;"><br /> </span><span style="color: #008080;">124</span> <span style="color: #000000;">  options.setOutputStream(resp.getOutputStream());<br /> </span><span style="color: #008080;">125</span> <span style="color: #000000;">  task.setRenderOption(options);<br /> </span><span style="color: #008080;">126</span> <span style="color: #000000;">  <br /> </span><span style="color: #008080;">127</span> <span style="color: #000000;">  </span><span style="color: #008000;">//</span><span style="color: #008000;">run report</span><span style="color: #008000;"><br /> </span><span style="color: #008080;">128</span> <span style="color: #000000;">  task.setParameterValues(m);<br /> </span><span style="color: #008080;">129</span> <span style="color: #000000;">  task.run();<br /> </span><span style="color: #008080;">130</span> <span style="color: #000000;">  task.close();<br /> </span><span style="color: #008080;">131</span> <span style="color: #000000;"> }</span><span style="color: #0000ff;">catch</span><span style="color: #000000;"> (Exception e){<br /> </span><span style="color: #008080;">132</span> <span style="color: #000000;">  <br /> </span><span style="color: #008080;">133</span> <span style="color: #000000;">  e.printStackTrace();<br /> </span><span style="color: #008080;">134</span> <span style="color: #000000;">  </span><span style="color: #0000ff;">throw</span><span style="color: #000000;"> </span><span style="color: #0000ff;">new</span><span style="color: #000000;"> ServletException( e );<br /> </span><span style="color: #008080;">135</span> <span style="color: #000000;"> }<br /> </span><span style="color: #008080;">136</span> <span style="color: #000000;">}<br /> </span><span style="color: #008080;">137</span> <span style="color: #000000;"><br /> </span><span style="color: #008080;">138</span> <span style="color: #008000;">/**</span><span style="color: #008000;"><br /> </span><span style="color: #008080;">139</span> <span style="color: #008000;"> * The doPost method of the servlet. <br /> </span><span style="color: #008080;">140</span> <span style="color: #008000;"> *<br /> </span><span style="color: #008080;">141</span> <span style="color: #008000;"> </span><span style="color: #008000;">*/</span><span style="color: #000000;"><br /> </span><span style="color: #008080;">142</span> <span style="color: #0000ff;">public</span><span style="color: #000000;"> </span><span style="color: #0000ff;">void</span><span style="color: #000000;"> doPost(HttpServletRequest request, HttpServletResponse response)<br /> </span><span style="color: #008080;">143</span> <span style="color: #000000;">  </span><span style="color: #0000ff;">throws</span><span style="color: #000000;"> ServletException, IOException {<br /> </span><span style="color: #008080;">144</span> <span style="color: #000000;"><br /> </span><span style="color: #008080;">145</span> <span style="color: #000000;"> </span><span style="color: #0000ff;">this</span><span style="color: #000000;">.doGet(request, response);<br /> </span><span style="color: #008080;">146</span> <span style="color: #000000;">}<br /> </span><span style="color: #008080;">147</span> <span style="color: #000000;"><br /> </span><span style="color: #008080;">148</span> <span style="color: #008000;">/**</span><span style="color: #008000;"><br /> </span><span style="color: #008080;">149</span> <span style="color: #008000;"> * Initialization of the servlet. <br /> </span><span style="color: #008080;">150</span> <span style="color: #008000;"> *<br /> </span><span style="color: #008080;">151</span> <span style="color: #008000;"> * </span><span style="color: #808080;">@throws</span><span style="color: #008000;"> ServletException if an error occure<br /> </span><span style="color: #008080;">152</span> <span style="color: #008000;"> </span><span style="color: #008000;">*/</span><span style="color: #000000;"><br /> </span><span style="color: #008080;">153</span> <span style="color: #0000ff;">public</span><span style="color: #000000;"> </span><span style="color: #0000ff;">void</span><span style="color: #000000;"> init() </span><span style="color: #0000ff;">throws</span><span style="color: #000000;"> ServletException {<br /> </span><span style="color: #008080;">154</span> <span style="color: #000000;">    <br /> </span><span style="color: #008080;">155</span> <span style="color: #000000;">    BirtEngine.initBirtConfig();<br /> </span><span style="color: #008080;">156</span> <span style="color: #000000;"> <br /> </span><span style="color: #008080;">157</span> <span style="color: #000000;">}<br /> </span><span style="color: #008080;">158</span> <span style="color: #000000;"><br /> </span><span style="color: #008080;">159</span> <span style="color: #000000;">}<br /> </span><span style="color: #008080;">160</span> </div> <br /> <br /> <img src ="http://www.aygfsteel.com/leweslove/aggbug/209026.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/leweslove/" target="_blank">leweslove</a> 2008-06-18 23:51 <a href="http://www.aygfsteel.com/leweslove/articles/209026.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>BIRT使用APIq行单部|?/title><link>http://www.aygfsteel.com/leweslove/articles/leweslove.html</link><dc:creator>leweslove</dc:creator><author>leweslove</author><pubDate>Fri, 06 Jun 2008 15:08:00 GMT</pubDate><guid>http://www.aygfsteel.com/leweslove/articles/leweslove.html</guid><wfw:comment>http://www.aygfsteel.com/leweslove/comments/206429.html</wfw:comment><comments>http://www.aygfsteel.com/leweslove/articles/leweslove.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/leweslove/comments/commentRss/206429.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/leweslove/services/trackbacks/206429.html</trackback:ping><description><![CDATA[     摘要: 在网上查了下BIRT的文章,不是很多。而且讲述的也不是十分全面。还是得自己琢磨啊?刚实验好Q脓上来分n一下共同交。希望也能帮助到对API部vq困惑的人?做这个纯_Ҏ看官|上的例子,q有好多疑点Q希望高手能l我解答下?首先Q这个API部v其实在官|上是叫"Servlet Example"。我没有在网上找C文的q个教程Q所以我׃我这贫乏的英语水品来自己理解了官|上的步骤。下面直接开?..  <a href='http://www.aygfsteel.com/leweslove/articles/leweslove.html'>阅读全文</a><img src ="http://www.aygfsteel.com/leweslove/aggbug/206429.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/leweslove/" target="_blank">leweslove</a> 2008-06-06 23:08 <a href="http://www.aygfsteel.com/leweslove/articles/leweslove.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> վ֩ģ壺 <a href="http://" target="_blank">质</a>| <a href="http://" target="_blank">ӥ̶</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">괨</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Т</a>| <a href="http://" target="_blank">뽭</a>| <a href="http://" target="_blank">ӳ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Դ</a>| <a href="http://" target="_blank">ˮ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ʯ</a>| <a href="http://" target="_blank">ij</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Ͻ</a>| <a href="http://" target="_blank">Ӷ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">̫</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ػ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ڶ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Ӣɽ</a>| <a href="http://" target="_blank">ԫ</a>| <a href="http://" target="_blank">ϸ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Ϫ</a>| <a href="http://" target="_blank">ƽ</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>