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

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

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

    軟體印象

    Kavin
    posts - 13, comments - 0, trackbacks - 0, articles - 0

     

    There is one problem with the Tag of "<tablib>" , when creating struts web project.. The error prompt as "cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'"

    <web-app>

      .....

     <taglib>
         <taglib-uri>/tags/struts-tiles</taglib-uri>
         <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
       </taglib>
    </web-app>

     

    Solution: Surround a tag of "jsp-config" :

    </web-app>

    ...

      <jsp-config>
       <taglib>
         <taglib-uri>/tags/struts-tiles</taglib-uri>
         <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
       </taglib>
      </jsp-config>
     
    </web-app>

    posted @ 2010-04-28 15:16 Kavin 閱讀(358) | 評論 (0)編輯 收藏

        比如查看spring.jar 中的Spring版本:
    查看 spring.jar\META-INF\MANIFEST.MF
    Manifest-Version: 1.0
    Export-Package: org.springframework.orm.jpa;uses:="org.apache.commons.
     logging,org.aopalliance.intercept,org.springframework.beans,org.sprin
     gframework.dao.support,org.springframework.instrument.classloading,ja
     vax.persistence,...

    Spring-Version: 2.5.4
    Implementation-Title: Spring Framework
    Implementation-Version: 2.5.4
    Tool: Bnd-0.0.208

    ...

    這里的2.5.4就是這個spring的版本。

    posted @ 2010-04-21 17:51 Kavin 閱讀(2966) | 評論 (0)編輯 收藏

     

    1. 使用宏操作 錄制宏并添加快捷鍵(ctl+shift+h);選中要修改的圖片,使用快捷鍵。

    Sub ResizeShape()

    '

    ' ResizeShape Macro

    ' Macro recorded 2010-3-25 by Kavin

    '

        Selection.InlineShapes(1).Fill.Visible = msoFalse

        Selection.InlineShapes(1).Fill.Solid

        Selection.InlineShapes(1).Fill.Transparency = 0#

        Selection.InlineShapes(1).Line.Weight = 0.75

        Selection.InlineShapes(1).Line.Transparency = 0#

        Selection.InlineShapes(1).Line.Visible = msoFalse

        Selection.InlineShapes(1).LockAspectRatio = msoTrue

        Selection.InlineShapes(1).Height = 198.15

        Selection.InlineShapes(1).Width = 264.45

        Selection.InlineShapes(1).PictureFormat.Brightness = 0.5

        Selection.InlineShapes(1).PictureFormat.Contrast = 0.5

        Selection.InlineShapes(1).PictureFormat.ColorType = msoPictureAutomatic

        Selection.InlineShapes(1).PictureFormat.CropLeft = 0#

        Selection.InlineShapes(1).PictureFormat.CropRight = 0#

        Selection.InlineShapes(1).PictureFormat.CropTop = 0#

        Selection.InlineShapes(1).PictureFormat.CropBottom = 0#

    End Sub

    2. 使用宏程序操作 創建宏程序,然后執行

    Sub batchResizeShape()

        Dim doc     As Document

      Dim i     As Integer

      Set doc = ActiveDocument 

      For i = 1 To doc.InlineShapes.Count

      'doc.InlineShapes 

          'doc.Shapes(i).ScaleHeight 0.5, msoFalse, msoScaleFromMiddle

          'doc.Shapes(i).ScaleWidth 0.5, msoFalse, msoScaleFromMiddle

          doc.InlineShapes(i).Height = 198.15

        doc.InlineShapes(i).Width = 264.45

      Next i

     

    End Sub

    posted @ 2010-03-25 16:17 Kavin 閱讀(6673) | 評論 (0)編輯 收藏

    僅列出標題
    共2頁: 上一頁 1 2 
    主站蜘蛛池模板: 久久亚洲免费视频| 国产在线播放线91免费| 91久久精品国产免费直播| 婷婷精品国产亚洲AV麻豆不片| 91免费国产视频| 亚洲成AV人在线观看天堂无码| 免费精品久久天干天干| 亚洲成AV人片在| 亚洲一区二区三区免费视频| 亚洲另类古典武侠| 免费观看黄网站在线播放| 亚洲色欲色欱wwW在线| 国产无遮挡色视频免费视频| 四虎成人精品国产永久免费无码| 免费a级毛片无码av| aaa毛片视频免费观看| 内射少妇36P亚洲区| 黄页网站免费观看| 噜噜综合亚洲AV中文无码| 亚洲视频在线精品| 精品视频在线免费观看| 亚洲视频在线观看视频| 最近的免费中文字幕视频| 久久久久亚洲国产AV麻豆| 亚洲区小说区图片区| 免费国产成人18在线观看| 亚洲一区二区三区深夜天堂| 国产精品无码免费视频二三区| a级成人免费毛片完整版| 亚洲六月丁香六月婷婷蜜芽| 精品剧情v国产在免费线观看 | 亚洲天天做日日做天天欢毛片| 麻豆视频免费观看| 亚洲av纯肉无码精品动漫| 国产亚洲精品自在线观看| 99久久99热精品免费观看国产| 亚洲精品无码中文久久字幕| 亚洲日本中文字幕天堂网| 在线观看的免费网站无遮挡| 婷婷亚洲综合一区二区| 久久亚洲精品国产精品黑人|