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

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

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

    步步為營(yíng)

    2005年10月14日

    table 與 div的關(guān)系

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


    常見錯(cuò)誤

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

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


    小經(jīng)驗(yàn),分享之

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

    Generic Type

    近日,碰到類似于“ ...raw type list..”字樣的提示,研究發(fā)現(xiàn),J2SE 5.0有了一個(gè)新的變化,就是generic概念,詳細(xì)請(qǐng)看:
    http://java.sun.com/docs/books/tutorial/java/javaOO/gentypes.html

    問題自然就會(huì)得到答案。

    提供一例:
    假設(shè)你要建立一類Product的arraylist,代碼應(yīng)為:
    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) | 評(píng)論 (0)編輯 收藏

    UrlRewrite2.5.x 手冊(cè)注解

    1、run元素對(duì)應(yīng)的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) | 評(píng)論 (0)編輯 收藏

    <2005年10月>
    2526272829301
    2345678
    9101112131415
    16171819202122
    23242526272829
    303112345

    導(dǎo)航

    統(tǒng)計(jì)

    常用鏈接

    留言簿(1)

    隨筆檔案

    搜索

    最新評(píng)論

    閱讀排行榜

    評(píng)論排行榜

    主站蜘蛛池模板: 成人精品综合免费视频| 亚洲另类自拍丝袜第五页| 特级毛片A级毛片免费播放| 在线观看免费人成视频色9| 亚洲高清不卡视频| 99久在线国内在线播放免费观看| 亚洲国产精品无码久久一线| a级毛片免费在线观看| 亚洲国产精品一区二区第一页免| 真正全免费视频a毛片| 免费人成视频在线观看视频| 免费的黄色网页在线免费观看| 又大又黄又粗又爽的免费视频| 免费看黄网站在线看| 亚洲人AV永久一区二区三区久久| 一区二区三区在线免费观看视频 | 亚洲综合激情六月婷婷在线观看 | 国产亚洲精品xxx| 久久精品视频免费| 久久久久亚洲Av无码专| 国产四虎免费精品视频| 国产成人精品日本亚洲网址| 免费被黄网站在观看| 日韩成人毛片高清视频免费看| 中文字幕在亚洲第一在线| 国产免费网站看v片在线| 亚洲黄网在线观看| 国产精品久久久久免费a∨| 亚洲av成本人无码网站| 国产成人精品日本亚洲专区| 99视频在线观看免费| 亚洲一级高清在线中文字幕| 日韩免费无码一区二区视频| h片在线播放免费高清| 亚洲福利在线观看| 女人被男人桶得好爽免费视频 | 亚洲AV无码成人精品区狼人影院| 国产精品亚洲综合一区| 亚洲香蕉免费有线视频| 美女扒开屁股让男人桶爽免费| 亚洲国产精品VA在线观看麻豆|