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

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

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

    lqxue

    常用鏈接

    統計

    book

    tools

    最新評論

    #

    多列列表顯示

                                       
    結合struts的iterate tag+JSTL1.1實現多列列表的顯示。下面一段示例代碼中顯示的是2列,如果想顯示多列,則直接把2改成自己想顯示的列數即可。
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

     1                                         <nested:iterate property="items" indexId="index">
     2                                                 <c:if test="${index%2==0}">
     3                                                 <tr>
     4                                                 </c:if>   
     5                                                     <td>
     6                                                         ${index}
     7                                                     </td> 
     8                                                 <c:if test="${(index+1)%2==0}">
     9                                                     </tr>
    10                                                 </c:if>
    11                                            
    12                                         </nested:iterate>

    posted @ 2007-05-21 11:31 lqx 閱讀(303) | 評論 (0)編輯 收藏

    [收藏]javascript調試

    http://getfirebug.com/#install

    posted @ 2007-05-20 17:28 lqx 閱讀(333) | 評論 (1)編輯 收藏

    [收藏]MyEclipse5.5,注冊碼

    http://www.1cn.biz/index.php?q=node/394

    posted @ 2007-05-20 11:29 lqx 閱讀(27990) | 評論 (41)編輯 收藏

    [收藏]實戰篇:設計自己的Annotation

    http://www.javaeye.com/topic/36659

    posted @ 2007-05-17 13:47 lqx 閱讀(137) | 評論 (0)編輯 收藏

    [收藏]hibernat get&load

    http://forum.springside.org.cn/viewthread.php?tid=360&highlight=session%2B%2Bload

    posted @ 2007-05-15 11:22 lqx 閱讀(116) | 評論 (0)編輯 收藏

    How to test OpenSessionInView with J-Unit

    http://hellboys.bokee.com/3001688.html

    posted @ 2007-05-15 10:19 lqx 閱讀(130) | 評論 (0)編輯 收藏

    原創 Ofbiz 入門教程

    http://www.cnblogs.com/sunsonbaby/archive/2004/11/29/70718.html

    posted @ 2007-05-14 16:35 lqx 閱讀(217) | 評論 (0)編輯 收藏

    為Java應用加入腳本引擎

    http://tech.ccidnet.com/art/294/20021128/32098_1.html

    posted @ 2007-05-14 16:24 lqx 閱讀(111) | 評論 (0)編輯 收藏

    數據庫:Hibernate的事務和并發(ZT)

    http://java.ccidnet.com/art/297/20061129/962923_1.html

    posted @ 2007-05-14 14:23 lqx 閱讀(97) | 評論 (0)編輯 收藏

    hibernate version

    3.4.2 Version Attributes
    The Version field or property is used by the persistence provider to perform optimistic locking. It is
    accessed and/or set by the persistence provider in the course of performing lifecycle operations on the
    entity instance. An entity is automatically enabled for optimistic locking if it has a property or field
    mapped with a Version mapping.

    An entity may access the state of its version field or property or export a method for use by the application
    to access the version, but must not modify the version value[17]. Only the persistence provider is
    permitted to set or update the value of the version attribute in the object.

    The version attribute is updated by the persistence provider runtime when the object is written to the
    database. All non-relationship fields and properties and all relationships owned by the entity are
    included in version checks.

    The persistence provider's implementation of the merge operation must examine the version attribute
    when an entity is being merged and throw an OptimisticLockException if it is discovered that
    the object being merged is a stale copy of the entity—i.e. that the entity has been updated since the
    entity became detached. Depending on the implementation strategy used, it is possible that this exception
    may not be thrown until flush is called or commit time, whichever happens first.

    The persistence provider runtime is only required to use the version attribute when performing optimistic
    lock checking. Persistence provider implementations may provide additional mechanisms beside
    version attributes to enable optimistic lock checking. However, support for such mechanisms is not
    required of an implementation of this specification.[18]

    If only some entities contain version attributes, the persistence provider runtime is required to check
    those entities for which version attributes have been specified. The consistency of the object graph is not
    guaranteed, but the absence of version attributes on some of the entities will not stop operations from
    completing.

    posted @ 2007-05-14 14:17 lqx 閱讀(291) | 評論 (0)編輯 收藏

    僅列出標題
    共18頁: First 上一頁 10 11 12 13 14 15 16 17 18 下一頁 
    主站蜘蛛池模板: 亚洲的天堂av无码| 久久夜色精品国产噜噜亚洲AV| 亚洲中文字幕无码亚洲成A人片| 国产白丝无码免费视频| 久久综合九九亚洲一区| 日韩精品无码免费专区午夜| 亚洲午夜AV无码专区在线播放| 一级**爱片免费视频| 亚洲一级特黄大片在线观看| 中文字幕久无码免费久久| 亚洲热妇无码AV在线播放| 久久精品网站免费观看| 亚洲一区二区三区高清不卡| 在线A级毛片无码免费真人| 亚洲成在人线aⅴ免费毛片| 免费人成网站在线播放| 国产又黄又爽胸又大免费视频 | 99久久久国产精品免费牛牛四川| 亚洲s色大片在线观看| 99久久久国产精品免费蜜臀| 亚洲精品一二三区| 免费成人在线观看| 99re6在线精品免费观看| 亚洲欧洲日产国产最新| 在线免费观看视频你懂的| 一个人晚上在线观看的免费视频| 亚洲精品乱码久久久久久自慰| 久久A级毛片免费观看| 亚洲精品无码中文久久字幕| 亚洲国产精品13p| 91在线老王精品免费播放| 亚洲依依成人亚洲社区| 亚洲三区在线观看无套内射| 免费观看激色视频网站bd| 免费毛片毛片网址| 亚洲神级电影国语版| 国产精品亚洲高清一区二区| 色影音免费色资源| 黄色网页在线免费观看| 2020年亚洲天天爽天天噜| 亚洲中文字幕不卡无码|