<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    軟件藝術思考者  
    混沌,彷徨,立志,蓄勢...
    公告
    日歷
    <2008年1月>
    303112345
    6789101112
    13141516171819
    20212223242526
    272829303112
    3456789

    導航

    隨筆分類(86)

    隨筆檔案(85)

    搜索

    •  

    最新評論

    閱讀排行榜

    評論排行榜

     

    1.我們平時使用的是debug模式,但有時候這種模式使得啟動服務時間非常長,如果不存在類級的Bug,可以直接使用Run模式啟動服務。通常可以很快的啟動了。但下次再啟動服務時,eclipse會使用上一次的啟動模式,如果不知道這一點,我們就沒辦法重新使用debug模式啟動了。在run模式下,我們在類里的修改不能立即被服務器識別,不能進行全部的調試。要想重新使用debug模式啟動,先點窗口,再點視圖,再點server,然后在出現的服務器視圖里選擇debug模式啟動即可。

    2.hiberate query.setDate('",newDate()),不能使sql進行時分秒級的比較.此時應該使用.setTimeStamp().
    3.hibernate由hbm生成數據庫表

    package com.movo.tv.common.util;
    import java.util.Properties;

    import org.hibernate.HibernateException;
    import org.hibernate.cfg.Configuration;
    import org.hibernate.tool.hbm2ddl.SchemaExport;
    /**
     * 由類反生成表 |generate tables by pojos.
     * @author zlj
     *
     */
    public class CreateDB {

    private static Configuration config;
    static{
       try {
        config=new Configuration().configure();
       } catch (HibernateException e) {
        e.printStackTrace();
       }
    }

    public static void create(){
       SchemaExport se=null;
       try {
        se=new SchemaExport(config);
        se.setOutputFile("E:\\sql.txt");
        se.create(true,true);
       } catch (HibernateException e) {
        e.printStackTrace();
       }
    }

    public static void main(String args[]){
       create();
    }

    }



    默認的hibernate.cfg.xml在src文件夾下,至少包括如下內容

    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE hibernate-configuration PUBLIC
              "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
              "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">

    <!-- Generated by MyEclipse Hibernate Tools.                   -->
    <hibernate-configuration>

        <session-factory>
            <property name="connection.username">root</property>
            <property name="connection.url">jdbc:mysql://localhost:3306/movo_new</property>
            <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
            <property name="connection.password">root</property>
            <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
        <mapping resource="com/movo/tv/pojo/hbm/Artcomment.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/City.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/Citytrans.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/Comclasstrans.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/Commentcontext.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/Compass.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/Compassclass.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/Compasstrans.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MArticle.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MCategory.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MCategorytrans.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MChArticleSplit.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MCharticletrans.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MChartmoki.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MCity.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MCitytrans.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MCollection.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MCommentcontext.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MCountry.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MCountrytrans.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MCustommodel.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MEnArticleSplit.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MEnarticletrans.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MEnartmoki.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MFriend.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MFriendgrouplink.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MFriendurl.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MFriendurltranse.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MFriengroup.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MGenre.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MGenretranse.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MGroup.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MImagecomments.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MIndexplace.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MJaArticleSplit.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MJaarticletrans.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MJaartmoki.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MKoArticleSplit.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MKoarticletrans.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MKoartmoki.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MLatestvisit.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MMessagetranse.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MMusic.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MMusicBox.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MMusiccomments.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MMusicommtran.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MMusicset.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MMusicsettrans.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MMusicskin.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MMusictranse.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MPagececollect.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MPagevisttemp.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MPagevisttempvist.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MPhotoimages.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MPhotoset.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MPhotosettrans.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MPhototrans.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MReceive.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MRecommendBlog.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MReview.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MReviewcontext.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MSendinfo.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MSmallimages.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MSysmessage.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MTag.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MTagtrance.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MTemplate.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/Muserevent.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MUserinfo.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MUsertag.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MUsertrack.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/MUsetranse.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/SUser.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/YActivity.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/YActivitytrans.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/YAdv.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/YAdvtrans.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/YComment.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/YCommenttrans.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/YCompanyzhaopin.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/YCompanyzhaopintrans.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/YDiscount.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/YDiscounttrans.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/YKeyword.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/YRecommend.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/YReport.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/YVideo.hbm.xml"/>
     <mapping resource="com/movo/tv/pojo/hbm/YVideotrans.hbm.xml"/>
        </session-factory>

    </hibernate-configuration>

    posted on 2007-08-23 15:10 智者無疆 閱讀(1814) 評論(8)  編輯  收藏 所屬分類: about hibernate
    評論:
    • # re: eclipse server tow run's models and others  SELT Posted @ 2007-08-24 11:36
      http://imgcache.qq.com/music/clntupate/QQMusicClickInstall.exe  回復  更多評論   

    • # re: eclipse server tow run's models and others  老婆 Posted @ 2007-08-24 17:04
      呵呵  回復  更多評論   

    • # re: eclipse server tow run's models and others  智者無疆 Posted @ 2007-08-24 21:34
      <html>
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
      <title>無標題文檔</title>
      <link href="css/all.css" rel="stylesheet" type="text/css">
      <script language="JavaScript" type="text/JavaScript" src="js/common.js">
      </script>
      </head>
      <SCRIPT type="text/javascript">
      <!--
      function slideit(img,imagename,step){
      setTransition(imagename);
      imagename.filters.item(0).Apply()
      imagename.src=img[step].src;
      imagename.filters.item(0).Play()
      step=(step+1)%img.length;
      playTransition(imagename);
      setTimeout(function(){slideit(img,imagename,step)},4*750)
      }
      function setTransition(imagename){
      imagename.filters.revealTrans.Transition=Math.floor(Math.random()*23);
      imagename.filters.revealTrans.apply();
      }

      function playTransition(imagename){
      imagename.filters.revealTrans.play()
      }
      //以上這段代碼最好在body標簽之上。
      -->
      </SCRIPT>
      <body>
      <div id="Layer7" class="左側">
      <p align="center"><a href="../index.htm">首頁</a><span class="style2">|</span>&nbsp;<a href="../other/meishi.html">美食</a><span class="style2">|</span>&nbsp;<a href="../other/meishi.html">營養保健</a><span class="style2">|</span><a href="../other/meishi.html" class="heihei">吃出健康</a><span class="style2">|</span><a href="../other/meishi.html">美味菜譜</a><span class="style2">|</span><a href="../other/meishi.html">文化休閑</a><span class="style2">|</span><a href="../other/meishi.html">飲食論壇</a><span class="style2">|</span><a href="../other/meishi.html">飲食文化</a>|<a href="../other/meishi.html">美顏健身</a><span class="style2">|
      <a href="../other/leave_word.html">留言板</a></span></p>
      </div>
      <div id="Layer9" class="左側">
      <marquee scrollamount=2 scrolldelay=3 direction="right" valign=middle behavior="scroll" onmouseover=this.stop() onmouseout=this.start()> <img border="0" src="image/1.jpg" width="110" height="90"><img src="image/2.jpg" width="110" height="90"><img src="image/3.jpg" width="110" height="90"><img src="image/4.jpg" width="110" height="90"><img src="image/5.jpg" width="98" height="90"><img src="image/6.jpg" width="110" height="90"><img src="image/7.jpg" width="110" height="90"></marquee></div>
      <div id="Layer5" class="head1">
      <p>加入收藏<br>
      美食論壇 </p>
      <p>


      <script language=JavaScript>
      today=new Date();
      function initArray(){
      this.length=initArray.arguments.length
      for(var i=0;i<this.length;i++)
      this[i+1]=initArray.arguments[i] }
      var d=new initArray(
      "星期日",
      "星期一",
      "星期二",
      "星期三",
      "星期四",
      "星期五",
      "星期六");
      document.write(
      "<font color=##663366 style='font-size:9pt;font-family: 宋體'> ",
      today.getYear(),"年",
      today.getMonth()+1,"月",
      today.getDate(),"日",
      d[today.getDay()+1],
      "</font>" );
      </script>
      <br>
      </p>
      </div>
      <div id="Layer1" class="tt">
      <p align="center">公告欄</p>
      <p><marquee onmouseover=this.stop() onmouseout=this.start() scrollamount="1" direction="up" width="148" height="35">歡迎來到這個網站,希望在這里能找到你所喜歡的東西,多提意見要求,謝謝!</marquee></p>
      <p align="center"><br>
      </p>
      </div>
      <div id="Layer11">
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="620" height="85" title="qq">
      <param name="movie" value="index.swf">
      <param name="quality" value="high">
      <embed src="index.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="620" height="85"></embed>
      </object>
      </div>
      <div class="hj" id="Layer2">
      <table width="613" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
      <th height="22" align="left" scope="col"><span class="tb01">
      <marquee direction="left" width="613" height="22" scrollamount="3" class="body1" onmouseover=this.stop() onmouseout=this.start()>
      歡迎您來到竹竹美食網,竹竹美食網是集美食文化,美食菜譜,營養美食,美容保健,美食佳肴,健康飲食,美容食品,美食圖片,伊人美食,天天飲食,大眾美食,東方美食,美食論壇為一體的中國飲食行業的專業化網站。
      </marquee>
      </span></th>
      </tr>
      <tr>
      <td height="126" valign="top"><table width="613" height="126" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
      <th width="137" height="125" align="left" valign="top" scope="col"><a href="other/meishi.html"><img border="1"name=picAddress src=" image\\001.jpg"
      style="FILTER: revealTrans(Duration=3, Transition=26)" width="137px" height="125px"></a>
      <SCRIPT type="text/javascript">
      <!--
      var imgs = new Array(4)
      for(var i=0;i<4;i++)
      {
      imgs[i]=new Image();
      imgs[i].src='image\\00'+(i+1)+'.jpg';
      }
      slideit(imgs,document.picAddress,0);
      //-->
      </SCRIPT></th>
      <th width="476" align="left" valign="top" scope="col"><table width="476" height="125" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFF00">
      <tr>
      <th width="238" height="24" align="left" valign="middle" class="ss" scope="col">&nbsp;<img src="image/t-28.gif" width="20" height="20" align="absbottom">&nbsp;飲食新聞</th>
      <th width="238" height="24" align="left" valign="middle" class="ss" scope="col">&nbsp;<img src="image/t-28.gif" width="20" height="20" align="absbottom">&nbsp;冬季飲食</th>
      </tr>
      <tr>
      <td height="22" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;“餐時加鹽法”可保您健康</td>
      <td height="22" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;冬季應食溫熱之品 </td>
      </tr>
      <tr>
      <td height="22" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp; 最新發現:女性抗疲勞重在補鐵!</td>
      <td height="22" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp; 冬季 女性怕冷補什么</td>
      </tr>
      <tr>
      <td height="22" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;研究稱喝咖啡不會增加患心臟病的危險</td>
      <td height="22" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;只吃蔬菜不吃飯越吃越胖</td>
      </tr>
      <tr>
      <td height="22" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;研究發現海藻能夠提升腸道解毒功能</td>
      <td height="22" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;冬季營養飲食禁忌 </td>
      </tr>
      <tr>
      <td height="22" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;美國專家推薦世界上最健康的五種食品</td>
      <td height="22" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;老人冬季多吃魚 </td>
      </tr>
      </table></th>
      </tr>
      </table></td>
      </tr>
      <tr>
      <td height="31" class="body2">&nbsp;&nbsp;關鍵字: &nbsp;
      <label>
      <input name="textfield" type="text" size="40">
      </label> &nbsp;&nbsp;

      <select name="select">
      <option>菜單標題</option>
      <option>內容</option>
      </select>
      &nbsp;&nbsp;
      <input name="button" type=button onMouseOver="this.runtimeStyle.background='#FFFFFF'" onMouseOut="this.runtimeStyle.background='#C0C0C0'" value=搜索></td>
      </tr>
      </table>
      </div>
      <div id="Layer3">
      <table width="765" height="170" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
      <th width="152" align="left" valign="top" scope="col"><table width="155" height="186" border="0" align="center" cellpadding="0" cellspacing="0" class="hj">
      <tr>
      <th height="22" bgcolor="#FF8247" class="ss" scope="col">特色佳肴</th>
      </tr>
      <tr>
      <td bgcolor="#FF0000" height="3"></td>
      </tr>
      <tr>
      <td bgcolor="#FFFFFF" height="3"></td>
      </tr>
      <tr>
      <td height="22" class="heihei">鍋巴肉片 | 水煮魚 | 粉蒸牛肉</td>
      </tr>
      <tr>
      <td height="22" class="heihei">梅菜扣肉 | 酸菜魚 | 龍鳳柔情</td>
      </tr>
      <tr>
      <td height="22" class="heihei">佛手排骨 | 木須肉 | 糖醋里脊</td>
      </tr>
      <tr>
      <td height="22" class="heihei">北京填鴨 | 回鍋肉 | 夫妻肺片</td>
      </tr>

      <tr>
      <td height="22" valign="top">&nbsp;</td>
      </tr>
      </table></th>
      <th width="382" align="left" valign="top" scope="col"><table width="382" height="186" border="0" cellpadding="0" cellspacing="0" bordercolor="#FF0000" class="hongse">
      <tr>
      <th width="102" height="22" align="left" valign="middle" bgcolor="#FF0000" class="hh" scope="col">&nbsp;<img src="image/t-28.gif" width="20" height="20" align="absbottom">&nbsp;美食菜譜</th>
      <th width="17" height="22" bgcolor="#FFCCCC" class="hh" scope="col">&nbsp;</th>
      <th width="255" height="22" align="right" bgcolor="#FFCCCC" class="hh" scope="col">更多>>&nbsp;&nbsp;</th>
      </tr>
      <tr>
      <td colspan="3" align="left" valign="top"><table width="382" height="146" border="0" align="center" cellpadding="0" cellspacing="1">
      <tr>
      <th width="98" height="26" class="heihei" scope="col">滿漢全席</th>
      <th width="98" height="26" class="heihei" scope="col"> 川菜</th>
      <th width="98" height="26" class="heihei" scope="col">粵菜</th>
      <th width="98" height="26" class="heihei" scope="col"> 魯菜 </th>
      </tr>
      <tr>
      <td width="98" height="22" align="center" valign="middle" class="heihei">乳奶魚卷</td>
      <td height="22" align="center" valign="middle" class="heihei">御龍火鍋</td>
      <td height="22" align="center" valign="middle" class="heihei">靈芝戀玉蟬</td>
      <td height="22" align="center" valign="middle" class="heihei"> 清蒸鱸魚</td>
      </tr>
      <tr>
      <td width="98" height="22" align="center" valign="middle" class="heihei">珊瑚魚球</td>
      <td height="22" align="center" valign="middle" class="heihei">鴛鴦戲水</td>
      <td height="22" align="center" valign="middle" class="heihei">魚香腰花</td>
      <td height="22" align="center" valign="middle" class="heihei">荷葉蒸肉</td>
      </tr>
      <tr>
      <td width="98" height="22" align="center" valign="middle" class="heihei">水滸肉</td>
      <td height="22" align="center" valign="middle" class="heihei">土豆回鍋肉 </td>
      <td height="22" align="center" valign="middle" class="heihei">蕃茄雞煲</td>
      <td height="22" align="center" valign="middle" class="heihei">佛手排骨</td>
      </tr>
      <tr>
      <td width="98" height="22" align="center" valign="middle" class="heihei">靈芝雞湯 </td>
      <td height="22" align="center" valign="middle" class="heihei">繁花似錦</td>
      <td height="22" align="center" valign="middle" class="heihei">炒豌豆夾 </td>
      <td height="22" align="center" valign="middle" class="heihei">金魚鴨掌</td>
      </tr>
      </table></td>
      </tr>
      </table></th>
      <th width="231" align="left" valign="top" scope="col"><table width="228" height="182" border="0" cellpadding="0" cellspacing="0" class="hj">
      <tr>
      <th width="229" height="22" bgcolor="#FF8247" class="ss" scope="col">湯類大全</th>
      </tr>
      <tr>
      <td bgcolor="#FF0000" height="3"></td>
      </tr>
      <tr>
      <td bgcolor="#FFFFFF" height="3"></td>
      </tr>
      <tr>
      <td height="22" align="left" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;鮮淮山支竹魚頭煲</td>
      </tr>
      <tr>
      <td height="22" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;烏雞湯 </td>
      </tr>
      <tr>
      <td height="22" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;青豆魚頭湯 </td>
      </tr>
      <tr>
      <td height="22" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;胡蘿卜土豆骨頭湯 </td>
      </tr>
      <tr>
      <td height="22" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;口蘑鍋巴湯 </td>
      </tr>
      <tr>
      <td height="22" align="left" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;田園湯</td>
      </tr>
      <tr>
      <td height="22" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;排骨酥湯</td>
      </tr>
      </table></th>
      </tr>
      </table>
      </div>
      <div id="Layer4">
      <table width="765" height="170" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
      <th width="152" align="left" valign="top" scope="col"><table width="150" height="179" border="0" align="center" cellpadding="0" cellspacing="0" class="hj">
      <tr>
      <th height="22" align="center" valign="middle" bgcolor="#FF8247" class="ss" scope="col">特色小吃</th>
      </tr>
      <tr>
      <td bgcolor="#FF0000" height="3"></td>
      </tr>
      <tr>
      <td bgcolor="#FFFFFF" height="3"></td>
      </tr>
      <tr>
      <td height="22" align="left" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;無為送灶粑粑 </td>
      </tr>
      <tr>
      <td height="22" align="left" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;徽州狀元飯</td>
      </tr>
      <tr>
      <td height="22" align="left" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;應城扒肉 </td>
      </tr>
      <tr>
      <td height="22" align="left" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;徽州臭豆腐</td>
      </tr>
      <tr>
      <td height="22" align="left" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;北京的幾個面食小吃</td>
      </tr>
      <tr>
      <td height="22" align="left" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;廣西梧州紙包雞</td>
      </tr>
      </table></th>
      <th width="356" align="left" valign="top" scope="col"><table width="380" height="179" border="0" cellpadding="0" cellspacing="0" class="hongse">
      <tr>
      <th width="117" height="22" align="left" valign="middle" bgcolor="#FF0000" class="hh" scope="col">&nbsp;<img src="image/t-28.gif" width="20" height="20" align="absbottom"> 伊人美食</th>
      <th width="17" height="22" bgcolor="#FFCCCC" scope="col">&nbsp;</th>
      <th width="245" height="22" align="right" valign="middle" bgcolor="#FFCCCC" scope="col"><span class="hh">更多>></span>&nbsp;&nbsp;</th>
      </tr>
      <tr>
      <td colspan="3" align="left" valign="top"><table width="382" height="157" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
      <th width="117" height="148" align="left" valign="middle" scope="col"><img src="image/u=1527617550,4060725732&gp=0.jpg" width="117" height="148"></th>
      <th width="268" align="left" valign="top" scope="col"><table width="268" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
      <th height="22" align="left" valign="middle" class="heihei" scope="col">&nbsp;&nbsp;蔬菜水果減皺紋 辣椒能年</th>
      </tr>
      <tr>
      <td height="22" class="heihei">&nbsp;&nbsp;飯前吃番茄可瘦身</td>
      </tr>
      <tr>
      <td height="22" class="heihei">&nbsp;&nbsp;蛋清+蜂蜜消除雙下巴奇效</td>
      </tr>
      <tr>
      <td height="22" class="heihei">&nbsp;&nbsp;少吃主食易脫發</td>
      </tr>
      <tr>
      <td height="22" class="heihei">&nbsp;&nbsp;六種必定發胖的生活惡習</td>
      </tr>
      <tr>
      <td height="22" class="heihei">&nbsp;&nbsp;果汁中女人不老的秘密 </td>
      </tr>
      <tr>
      <td height="22" class="heihei">&nbsp;&nbsp;紅潤女人的飲食療法</td>
      </tr>

      </table></th>
      </tr>

      </table></td>
      </tr>
      </table></th>
      <th width="255" align="left" valign="top" scope="col"><table width="228" height="181" border="0" align="center" cellpadding="0" cellspacing="0" class="hj">
      <tr>
      <th height="22" bgcolor="#FF8247" class="ss" scope="col">飲食養性</th>
      </tr>
      <tr>
      <td bgcolor="#FF0000" height="3"></td>
      </tr>
      <tr>
      <td bgcolor="#FFFFFF" height="3"></td> </tr>
      <tr>
      <td height="22" align="left" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;43個你必知的健康常識 </td>
      </tr>
      <tr>
      <td height="22" align="left" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;秋季必吃的四道“調養菜”</td>
      </tr>
      <tr>
      <td height="22" align="left" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;15種秋季滋補養顏粥品 </td>
      </tr>
      <tr>
      <td height="22" align="left" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;秋涼護胃六要素</td>
      </tr>
      <tr>
      <td height="22" align="left" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;秋天適宜吃南瓜</td>
      </tr>
      <tr>
      <td height="22" align="left" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10">&nbsp;秋天四防</td>
      </tr>
      </table></th>
      </tr>
      </table>
      </div>
      <div id="Layer6">
      <table width="765" height="63" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
      <th align="center" valign="middle" class="haha" scope="col">竹竹美食網</th>
      </tr>
      <tr>
      <td align="center" valign="middle" class="haha">版權所有copy 聯系方式:329624831</td>
      </tr>
      </table>
      </div>
      <div class="hj" id="Layer8">
      <table width="150" height="73" border="0" align="center" cellpadding="0" cellspacing="0" background="image/200543021442047263_r1_c1.jpg">
      <tr>
      <th height="20" align="left" scope="col"><span class="hh">用戶名:</span>
      <input name="textfield2" type="text" class="hh" size="7"> </th>
      </tr>
      <tr>
      <td height="20"><span class="hh">密碼:&nbsp;</span>&nbsp;
      <input name="textfield3" type="text" class="hh" size="7"> </td>
      </tr>
      <tr>
      <td height="20"><input name="Submit" type="submit" class="hh" onMouseOver="this.runtimeStyle.background='#FFFFFF'" onMouseOut="this.runtimeStyle.background='#C0C0C0'" value="提交">&nbsp;&nbsp;
      <input name="Submit2" type="submit" class="hh" onMouseOver="this.runtimeStyle.background='#FFFFFF'" onMouseOut="this.runtimeStyle.background='#C0C0C0'" value="清空">
      &nbsp;<span class="hh">注冊</span> </td>
      </tr>
      </table>
      </div>
      </body>
      </html>

        回復  更多評論   

    • # javascript:兼容ie和ff的定位  self Posted @ 2007-08-25 14:19
      1.精確定位
      but1=document.getElementById(bt1);
      objInput = obj;
      top1=getAbsoluteHeight(objInput)+getAbsoluteTop(objInput);
      top1+="px";
      writeDate();sohwDate();
      objouter.style.top =top1;
      objouter.style.left =getAbsoluteLeft(objInput)+"px";
      objouter.style.display = "block";}
      function getAbsoluteHeight(ob){return ob.offsetHeight;}
      function getAbsoluteWidth(ob){return ob.offsetWidth;}
      function getAbsoluteLeft(ob){var s_el=0;el=ob;while(el){s_el=s_el+el.offsetLeft;el=el.offsetParent;}; return s_el}
      function getAbsoluteTop(ob){var s_el=0;el=ob;while(el){s_el=s_el+el.offsetTop ;el=el.offsetParent;}; return s_el}
      2.大略定位:
      var evt;
      if(evt == null)
      evt = event; // For IE
      evt = evt ? evt : (window.event ? window.event : null);
      // var srcElement = evt.srcElement? evt.srcElement : evt.target; // IE使用srcElement, 而Firefox使用target
      document.getElementById('cc').style.display='none';
      document.getElementById('dd').style.display='none';
      document.getElementById('aa').style.display=document.getElementById('aa').style.display=='none'?"block":"none"
      document.getElementById('aa').style.top=evt.screenY+"px";
      document.getElementById('aa').style.left=evt.screenX+"px";
      if(pid!=0){  回復  更多評論   

    • # re: eclipse server tow run's models and others  selft Posted @ 2007-08-26 19:43
      java Swing開發
      1. Visual Editor——eclipse中進行swing的可視化開發的插件
      eclipse 可視化java組件開發利器
      一直做基于j2ee的web應用,開發工具用的eclipse,最近項目中需要一個可視化的工具,要用swing
      了??墒莈clipse中不支持swing的可視化開發。又不想用D版的JBuilder。
      從網上找了一個eclipse的插件——Visual Editor.
      VE簡介:
      Visual Editor是一個開源的eclipse編輯器。它同JDT、PDE等其它eclipse的工具項目一樣,

      是一個全新的eclipse工具項目。它可以進行可視化的編輯java GUI程序,也能編輯可視化的

      Java Bean組件。它能與eclipse的Java Editor集成在一起,當在Visual Editor中編輯圖形

      界面時,會立即反饋到java Editor中的代碼。反之亦然。
      其官方網站介紹
      The Eclipse Visual Editor project is a vendor-neutral, open development platform supplying frameworks for creating GUI builders, and exemplary, extensible tool implementations for Swing/JFC and SWT/RCP. These tools are exemplary in that they verify the utility of the Eclipse Visual Editor frameworks, illustrate the appropriate use of those frameworks, and support the development and maintenance of the Eclipse Visual Editor Platform itself.

      The purpose of the Eclipse Visual Editor Project is to advance the creation, evolution, promotion of the Eclipse Visual Editor platform, and to cultivate both an open source community and an ecosystem of complementary products, capabilities, and services. In particular, the Visual Editor Project intends to be useful for creating GUI builders for other languages such as C/C++ and alternate widget sets, including those that are not supported under Java.


      下載與安裝
      Visual Editor的官方網站 http://www.eclipse.org/vep/去下載適合你的操作系統平臺和
      eclipse、jdk版本的ve吧。
      2 http://blog.sina.com.cn/s/blog_46e73e77010005jz.html

      SWT-Designer5.1.0 for Eclipse3.2破解成功 2006-09-29 13:06:48
      大 中 小
      昨天成功破解了for Eclipse3.2的SWT Designer5.1.0,簡單試用了一下,確實比以前的版本更好用。

      破解后的界面:


      可以使用33727天的lisence:




      特別需要注意的是,破解要選WindowBuilder,且序列號的長度為9位,如上圖中的WindowBuilderPro-06921-4979就是序列號(06921-4979),WindowBuilderPro-1D3HD-FM0BY-39XS2是key。否則,不能正常破解。op

      3.Jigloo GUI Builder
      4. l2fprod-common   回復  更多評論   

    • # re: eclipse server tow run's models and others  selft Posted @ 2007-08-26 19:48
      http://download.csdn.net/source/222243  回復  更多評論   

    • # hibernate jndi 數據源[未登錄]  lijun Posted @ 2008-01-22 10:29
      <beans>
      <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
      <property name="jndiName">
      <value>java:comp/env/jdbc/vonibo</value>
      </property>
      </bean>
      </beans>
      <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
      <property name="dataSource" ref="dataSource"/>
      <property name="hibernateProperties">
      <props>
      <prop key="hibernate.dialect">org.hibernate.dialect.MySQLDialect</prop>
      <prop key="hibernate.jdbc.batch_size">50</prop>
      <prop key="hibernate.jdbc.fetch_size">100</prop>
      <prop key="hibernate.show_sql">true</prop>
      <prop key="hibernate.cache.use_query_cache">false</prop>
      <prop key="hibernate.cache.provider_class">org.hibernate.cache.EhCacheProvider</prop>
      </props>
      </property>
      <!-- property name="mappingDirectoryLocations">
      <list>
      <value>classpath:/com/wonibo/projectx/model</value>
      </list>
      </property-->  回復  更多評論   

    • # hibernate 內存溢出的解決OpenSessionInViewFilter[未登錄]  lijun Posted @ 2008-01-22 10:35
      <filter>
      <filter-name>hibernateFilter</filter-name>
      <filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class>
      <init-param>
      <param-name>singleSession</param-name>
      <param-value>true</param-value>
      </init-param>
      </filter>
      <filter-mapping>
      <filter-name>hibernateFilter</filter-name>
      <url-pattern>/app/*</url-pattern>
      </filter-mapping>
      <filter-mapping>
      <filter-name>hibernateFilter</filter-name>
      <url-pattern>/admin/*</url-pattern>
      </filter-mapping>
      <filter-mapping>
      <filter-name>hibernateFilter</filter-name>
      <url-pattern>/services/*</url-pattern>
      </filter-mapping>   回復  更多評論   

     
    Copyright © 智者無疆 Powered by: 博客園 模板提供:滬江博客


       觀音菩薩贊

    主站蜘蛛池模板: 浮力影院亚洲国产第一页| 日韩在线天堂免费观看| 亚洲无人区午夜福利码高清完整版| 污网站在线免费观看| 国产成人在线观看免费网站| 亚洲精品欧美综合四区| 日韩免费观看的一级毛片| 国产成人精品日本亚洲语音| 亚洲?V乱码久久精品蜜桃| 乱人伦中文视频在线观看免费| 亚洲一级特黄大片无码毛片| 国产线视频精品免费观看视频| 亚洲成av人片天堂网| 18禁男女爽爽爽午夜网站免费| 亚洲同性男gay网站在线观看| 无码人妻久久一区二区三区免费丨| 亚洲看片无码在线视频 | 最近中文字幕高清免费中文字幕mv | 亚洲成人免费网址| 中文字幕av无码无卡免费| 亚洲另类无码专区首页| 亚洲精品A在线观看| 男人天堂免费视频| 激情内射亚洲一区二区三区| 岛国大片免费在线观看| 久香草视频在线观看免费| 亚洲av午夜成人片精品网站| 亚欧在线精品免费观看一区 | 曰批免费视频播放免费| 国产亚洲精品美女久久久| 国产成人精品久久免费动漫| 亚洲AV永久无码天堂影院| 中文字幕亚洲无线码| 国产国产人免费视频成69堂| 无遮挡呻吟娇喘视频免费播放| 婷婷亚洲久悠悠色悠在线播放| 搡女人真爽免费视频大全| 国产久爱免费精品视频| 亚洲天堂一区在线| 久久久亚洲精品蜜桃臀| 两性刺激生活片免费视频|