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

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

    導航

    統計

    常用鏈接

    留言簿(1)

    隨筆檔案

    搜索

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 在线人成精品免费视频| 国产精品免费一区二区三区四区| 四虎永久在线精品免费观看视频| 久久亚洲AV无码精品色午夜麻豆| 最近免费中文字幕大全高清大全1| 亚洲精品成人av在线| 99久久人妻精品免费一区| 亚洲资源在线视频| 日韩在线免费视频| 国产精品日本亚洲777| 国产乱色精品成人免费视频| 一级毛片成人免费看a| 久久久综合亚洲色一区二区三区| 无码人妻AV免费一区二区三区| 久久精品亚洲精品国产色婷 | 学生妹亚洲一区二区| 妞干网免费观看视频| 国产亚洲精彩视频| 亚洲永久无码3D动漫一区| 精品国产一区二区三区免费| 亚洲色图校园春色| 日本免费网站在线观看| 一区二区三区免费在线观看| 久久青青草原亚洲av无码app| 成人毛片18岁女人毛片免费看| 日韩在线视频线视频免费网站| 亚洲成av人片在线观看无码不卡| 9420免费高清在线视频| 亚洲成av人无码亚洲成av人| 国产综合亚洲专区在线| 免费AA片少妇人AA片直播| 视频一区二区三区免费观看| 亚洲国产精品国自产电影| 日韩精品免费一区二区三区| 国产日韩精品无码区免费专区国产| 色婷婷亚洲十月十月色天| 免费在线观看亚洲| 一区二区三区观看免费中文视频在线播放| 亚洲资源最新版在线观看| 久久精品国产精品亚洲| 国产免费的野战视频|