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

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

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

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

    導(dǎo)航

    隨筆分類(86)

    隨筆檔案(85)

    搜索

    •  

    最新評(píng)論

    閱讀排行榜

    評(píng)論排行榜

     

    1.我們平時(shí)使用的是debug模式,但有時(shí)候這種模式使得啟動(dòng)服務(wù)時(shí)間非常長(zhǎng),如果不存在類級(jí)的Bug,可以直接使用Run模式啟動(dòng)服務(wù)。通常可以很快的啟動(dòng)了。但下次再啟動(dòng)服務(wù)時(shí),eclipse會(huì)使用上一次的啟動(dòng)模式,如果不知道這一點(diǎn),我們就沒辦法重新使用debug模式啟動(dòng)了。在run模式下,我們?cè)陬惱锏男薷牟荒芰⒓幢环?wù)器識(shí)別,不能進(jìn)行全部的調(diào)試。要想重新使用debug模式啟動(dòng),先點(diǎn)窗口,再點(diǎn)視圖,再點(diǎn)server,然后在出現(xiàn)的服務(wù)器視圖里選擇debug模式啟動(dòng)即可。

    2.hiberate query.setDate('",newDate()),不能使sql進(jìn)行時(shí)分秒級(jí)的比較.此時(shí)應(yīng)該使用.setTimeStamp().
    3.hibernate由hbm生成數(shù)據(jù)庫(kù)表

    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();
    }

    }



    默認(rèn)的hibernate.cfg.xml在src文件夾下,至少包括如下內(nèi)容

    <?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 智者無疆 閱讀(1815) 評(píng)論(8)  編輯  收藏 所屬分類: about hibernate
    評(píng)論:
    • # re: eclipse server tow run's models and others  SELT Posted @ 2007-08-24 11:36
      http://imgcache.qq.com/music/clntupate/QQMusicClickInstall.exe  回復(fù)  更多評(píng)論   

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

    • # 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>無標(biāo)題文檔</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標(biāo)簽之上。
      -->
      </SCRIPT>
      <body>
      <div id="Layer7" class="左側(cè)">
      <p align="center"><a href="../index.htm">首頁(yè)</a><span class="style2">|</span>&nbsp;<a href="../other/meishi.html">美食</a><span class="style2">|</span>&nbsp;<a href="../other/meishi.html">營(yíng)養(yǎng)保健</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="左側(cè)">
      <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">歡迎來到這個(gè)網(wǎng)站,希望在這里能找到你所喜歡的東西,多提意見要求,謝謝!</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()>
      歡迎您來到竹竹美食網(wǎng),竹竹美食網(wǎng)是集美食文化,美食菜譜,營(yíng)養(yǎng)美食,美容保健,美食佳肴,健康飲食,美容食品,美食圖片,伊人美食,天天飲食,大眾美食,東方美食,美食論壇為一體的中國(guó)飲食行業(yè)的專業(yè)化網(wǎng)站。
      </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;“餐時(shí)加鹽法”可保您健康</td>
      <td height="22" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;冬季應(yīng)食溫?zé)嶂?</td>
      </tr>
      <tr>
      <td height="22" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp; 最新發(fā)現(xiàn):女性抗疲勞重在補(bǔ)鐵!</td>
      <td height="22" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp; 冬季 女性怕冷補(bǔ)什么</td>
      </tr>
      <tr>
      <td height="22" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;研究稱喝咖啡不會(huì)增加患心臟病的危險(xiǎn)</td>
      <td height="22" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;只吃蔬菜不吃飯?jiān)匠栽脚?lt;/td>
      </tr>
      <tr>
      <td height="22" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;研究發(fā)現(xiàn)海藻能夠提升腸道解毒功能</td>
      <td height="22" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;冬季營(yíng)養(yǎng)飲食禁忌 </td>
      </tr>
      <tr>
      <td height="22" valign="middle" class="heihei">&nbsp;<img src="image/t-07.gif" width="10" height="10" align="absbottom">&nbsp;美國(guó)專家推薦世界上最健康的五種食品</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;關(guān)鍵字: &nbsp;
      <label>
      <input name="textfield" type="text" size="40">
      </label> &nbsp;&nbsp;

      <select name="select">
      <option>菜單標(biāo)題</option>
      <option>內(nèi)容</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;應(yīng)城扒肉 </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;北京的幾個(gè)面食小吃</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;少吃主食易脫發(fā)</td>
      </tr>
      <tr>
      <td height="22" class="heihei">&nbsp;&nbsp;六種必定發(fā)胖的生活惡習(xí)</td>
      </tr>
      <tr>
      <td height="22" class="heihei">&nbsp;&nbsp;果汁中女人不老的秘密 </td>
      </tr>
      <tr>
      <td height="22" class="heihei">&nbsp;&nbsp;紅潤(rùn)女人的飲食療法</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">飲食養(yǎng)性</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個(gè)你必知的健康常識(shí) </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;秋季必吃的四道“調(diào)養(yǎng)菜”</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種秋季滋補(bǔ)養(yǎng)顏粥品 </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;秋涼護(hù)胃六要素</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">竹竹美食網(wǎng)</th>
      </tr>
      <tr>
      <td align="center" valign="middle" class="haha">版權(quán)所有copy 聯(lián)系方式: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">注冊(cè)</span> </td>
      </tr>
      </table>
      </div>
      </body>
      </html>

        回復(fù)  更多評(píng)論   

    • # 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){  回復(fù)  更多評(píng)論   

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

      是一個(gè)全新的eclipse工具項(xiàng)目。它可以進(jìn)行可視化的編輯java GUI程序,也能編輯可視化的

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

      界面時(shí),會(huì)立即反饋到j(luò)ava Editor中的代碼。反之亦然。
      其官方網(wǎng)站介紹
      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的官方網(wǎng)站 http://www.eclipse.org/vep/去下載適合你的操作系統(tǒng)平臺(tái)和
      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,簡(jiǎn)單試用了一下,確實(shí)比以前的版本更好用。

      破解后的界面:


      可以使用33727天的lisence:




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

      3.Jigloo GUI Builder
      4. l2fprod-common   回復(fù)  更多評(píng)論   

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

    • # hibernate jndi 數(shù)據(jù)源[未登錄]  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-->  回復(fù)  更多評(píng)論   

    • # hibernate 內(nèi)存溢出的解決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>   回復(fù)  更多評(píng)論   

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


       觀音菩薩贊

    主站蜘蛛池模板: 国产成人亚洲精品91专区高清| 亚洲一区无码中文字幕| 天天操夜夜操免费视频| 99无码人妻一区二区三区免费 | 亚洲综合亚洲国产尤物| 亚洲国产精品一区二区久久| 亚洲AV日韩精品久久久久久| 亚洲高清视频在线观看| 亚洲日韩在线视频| 亚洲av无码一区二区三区天堂古代| 亚洲大香人伊一本线| 在线综合亚洲中文精品| 亚洲国产精品久久久久秋霞小| 亚洲av无码一区二区三区四区 | 亚洲AV无码精品国产成人| 亚洲欧美在线x视频| 特级毛片aaaa级毛片免费| 一级毛片免费不卡| 国产猛男猛女超爽免费视频| 三年片在线观看免费大全电影| 国产成人福利免费视频| 永久免费av无码网站大全| 免费一级毛片免费播放| 亚洲午夜久久久影院伊人| 亚洲欧洲国产精品你懂的| 亚洲国产精品乱码在线观看97| 亚洲日本VA午夜在线电影| 尤物视频在线免费观看| 99热在线精品免费播放6| 国语成本人片免费av无码| 亚洲av手机在线观看| 亚洲精品tv久久久久久久久 | 亚洲精品99久久久久中文字幕| 亚洲三区在线观看无套内射| 亚洲国产精品综合久久2007| 亚洲AV网一区二区三区 | 亚洲大码熟女在线观看| a高清免费毛片久久| 久草免费在线观看视频| 免费永久看黄在线观看app| 亚洲AV无码一区东京热久久|