<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門客 閱讀(499) | 評論 (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門客 閱讀(167) | 評論 (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門客 閱讀(271) | 評論 (0)編輯 收藏

    僅列出標題  
    <2025年7月>
    293012345
    6789101112
    13141516171819
    20212223242526
    272829303112
    3456789

    導航

    統計

    常用鏈接

    留言簿(1)

    隨筆檔案

    搜索

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 亚洲一区免费在线观看| 亚洲视频无码高清在线| 亚洲人成在线播放网站| 亚洲电影在线播放| 免费人成大片在线观看播放电影| 两个人看的www高清免费视频| aa级一级天堂片免费观看| 亚洲人成无码网WWW| 亚洲综合校园春色| a级毛片100部免费观看| 国产成人精品亚洲精品| 无码毛片一区二区三区视频免费播放| 18级成人毛片免费观看| 国产av无码专区亚洲av果冻传媒| 亚洲依依成人亚洲社区| 久久久久成人片免费观看蜜芽| 男人的天堂亚洲一区二区三区 | 亚洲H在线播放在线观看H| 免费福利视频导航| 亚洲乱码无码永久不卡在线| 精品无码专区亚洲| 免费下载成人电影| 亚洲尹人九九大色香蕉网站 | 国产视频精品免费| 亚洲一区二区三区在线| 精品国产免费观看一区| 亚洲日本va在线观看| 日韩免费高清一级毛片在线| 国产色在线|亚洲| 色吊丝最新永久免费观看网站| 免费看美女午夜大片| 国产精品久久久亚洲| 在线涩涩免费观看国产精品| 老司机亚洲精品影视www| 免费人成动漫在线播放r18| 久久精品国产亚洲AV麻豆王友容| 国内精品免费久久影院| 亚洲伊人久久大香线焦| 99久久国产热无码精品免费| 亚洲综合综合在线| 国产成人免费手机在线观看视频 |