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

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

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

    步步為營

    2006年4月8日

    table 與 div的關系

    table的寬度百分比取決于父對象的寬度,父對象常見為div,


    常見錯誤

    <div?style="width:100%">
    ???
    <table?style="width;100%;margin:10px"
    </div
    >
    這種情況下,table 肯定將獲得div的全部寬度,不會因為margin而進行改變。所以要想保持美觀,盡量不要在table上加margin, 正確寫法如下:

    <div?style="width:100%;margin:10px">
    ???
    <table?style="width;100%"
    </div
    >


    小經驗,分享之

    posted @ 2006-04-08 11:42 java門客 閱讀(494) | 評論 (1)編輯 收藏

    2005年10月25日

    Generic Type

    近日,碰到類似于“ ...raw type list..”字樣的提示,研究發現,J2SE 5.0有了一個新的變化,就是generic概念,詳細請看:
    http://java.sun.com/docs/books/tutorial/java/javaOO/gentypes.html

    問題自然就會得到答案。

    提供一例:
    假設你要建立一類Product的arraylist,代碼應為:
    List<Product> result = new ArrayList<Product>();
    result.add(new Product());
    以前的寫法為:
    List result = new ArrayList();
    result.add(new Product());
    其中奧妙看那篇文章吧。:)

    posted @ 2005-10-25 14:22 java門客 閱讀(163) | 評論 (0)編輯 收藏

    2005年10月14日

    UrlRewrite2.5.x 手冊注解

    1、run元素對應的class的方法必須為public

    <run> element
    Allows you to run a method on an object when a rule and it's conditions are matched.

    Attribute Explanation 
    class (default) The class you want to run a method on. Must be a fully qualified name. 
    method (optional, default run) The method you want to run, the method must have the parameters (HttpServletRequest, HttpServletResponse) e.g. run(HttpServletRequest request, HttpServletResponse response) 
    Note, if init(ServletConfig) or destroy() is found they will be run at when creating or destroying an instance.  
    neweachtime (optional, default false) If you want new instance of the class to be created before running each time set to true. 

    When the rule in the following example is matched, WorldServlet.goGet(HttpServletRequest, HttpServletResponse) will be invoked, the request will then be forwarded to /world-presentation.jsp.

        
    <rule>
        
    <from>^/world/[a-z]+/[a-z]+$</from>
        
    <run class="com.blah.web.WorldServlet" method="doGet" />
        
    <to>/world-presentation.jsp</to>
        
    </rule>
    Note, you can specify init-param's the same way you would for a servlet.

        
    <run class="com.blah.web.MyServlet" method="doGet">
        
    <init-param>
        
    <param-name>someParamName</param-name>
        
    <param-value>10</param-value>
        
    </init-param>
        
    </run>

    posted @ 2005-10-14 20:10 java門客 閱讀(266) | 評論 (0)編輯 收藏

    僅列出標題  
    <2025年5月>
    27282930123
    45678910
    11121314151617
    18192021222324
    25262728293031
    1234567

    導航

    統計

    常用鏈接

    留言簿(1)

    隨筆檔案

    搜索

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 亚洲免费视频播放| 亚洲AV日韩AV永久无码绿巨人| 亚洲日韩精品无码专区网站| 久久久久久久亚洲Av无码| 一区二区3区免费视频| 午夜免费不卡毛片完整版| 亚洲人成网址在线观看| 国产免费区在线观看十分钟| 国产一级淫片免费播放电影| 亚洲一级大黄大色毛片| 国产一级在线免费观看| 亚洲精品一品区二品区三品区| 五月天婷婷免费视频| 免费一级国产生活片| 色网站在线免费观看| 国产精品无码素人福利免费| 亚洲成a人无码亚洲成www牛牛 | 亚洲av无码兔费综合| 久久WWW免费人成人片| 亚洲第一香蕉视频| 亚洲国产精品免费在线观看| 亚洲国产成人久久精品动漫 | 免费国产高清视频| 精品女同一区二区三区免费站| 免费国产黄网站在线观看动图| 亚洲综合最新无码专区| 黄页网站在线观看免费高清| 亚洲中文字幕无码一去台湾| 国产香蕉九九久久精品免费| 国产又黄又爽胸又大免费视频| 亚洲AV无码专区亚洲AV桃| 亚洲精品人成电影网| 国产亚洲成av人片在线观看| 亚洲AV伊人久久青青草原| 中文字幕免费在线看线人动作大片 | 成年网在线观看免费观看网址| 亚洲五月丁香综合视频| 亚洲男人都懂得羞羞网站| 国产亚洲av片在线观看18女人 | 亚洲va在线va天堂成人| 亚洲一区二区三区首页|