国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費(fèi)電子書(shū)等14項(xiàng)超值服

開(kāi)通VIP
如何使用struts-menu-2.4.3的插件
1.先將struts-menu-2.4.3.zip插件的jar包解壓找到struts-menu.war包,然后將struts-menu.war放到apache-tomcat-6.0.20\webapps目錄下
2.雙擊apache-tomcat-6.0.20\bin\startup.bat啟動(dòng)服務(wù)器,struts-menu.war將自動(dòng)解壓生成struts-menu文件夾.
3在Struts應(yīng)用中使用Struts-Menu插件需要經(jīng)過(guò)一下幾步.(在Eclipse下安裝
        (1)將struts-menu所需的包文件struts-menu-2.4.3.jar導(dǎo)入到WEB-INF/lib下。
        (2)將struts-menu自帶的images,script,styles及templates(這幾個(gè)文件在struts-menu.war自解壓的           struts-menu文件夾下可以找到)導(dǎo)入WebContent下。
        (3)在struts-config.xml中配置struts-menu插件:
             <plug-in className="net.sf.navigator.menu.MenuPlugIn">
                     <set-property property="menuConfig" value="/WEB-INF/menu-config.xml"/>
            </plug-in>
        (4)創(chuàng)建菜單的配置文件:menu-config.xml(在自解壓的文件struts-menu\WEB-INF\找到struts-            config.xml進(jìn)行修改)
struts-config.xml配置實(shí)例
<?xml version="1.0" encoding="utf-8" ?>
<MenuConfig>
  <Displayers>
    <Displayer   name="DropDown"
                 type="net.sf.navigator.displayer.DropDownMenuDisplayer"/>
  </Displayers>
  <Menus>
  <!-- ====================   To Do List Menus   =========================== -->
    <Menu  name="ToDoListMenuFile"  title="教育辦公系統(tǒng)"  description="test" width="50">
      <Item   name="TDLnew"   title="員工管理">
           <Item   name="TDLnewcase"   title="員工錄入"    image="images/case-new.png"
                   location="NewCase.jsp"/>
           <Item   name="TDLnewitem"    title="員工查詢"   image="images/item-new.png"
                   location="index.jsp"/>
           <Item   name="TDLnewparty"   title="員工上傳"  image="images/party-new.png"
                   location="index.jsp"/>
       </Item>
       <Item   name="TDLopen"   title="角色錄入">
           <Item   name="TDLopencase"    title="角色錄入"   image="images/case-open.png"
                    location="index.jsp"/>
           <Item   name="TDLopenitem"   title="角色查詢"    image="images/item-open.png"
                    location="index.jsp"/>
       </Item>
       <Item    name="TDLexit"  title="退出"
                image="images/exit.png"   location="index.jsp"/>
    </Menu>
  </Menus>
</MenuConfig>
       (5)在JSP頁(yè)面中使用struts-menu的標(biāo)簽庫(kù)顯示各種樣式的菜單。
首先引入標(biāo)簽庫(kù)<%@ taglib uri="http://struts-menu.sf.net/tag" prefix="menu" %>
           <html>
<head>
</head>
<body>
<table cellpadding=0 cellspacing=0>
<tr valign=top>
 <td>
     <!--如何引入菜單-->
    <menu:useMenuDisplayer name="DropDown" bundle="org.apache.struts.action.MESSAGE">
    <table cellpadding=0 cellspacing=0>
      <tr>
        <td>
          <menu:displayMenu name="ToDoListMenuFile" target="content"/>
        </td>
      </tr>
    </table>
    </menu:useMenuDisplayer>
 </td>
</tr>
</table>
</body>
</html>
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)。
打開(kāi)APP,閱讀全文并永久保存 查看更多類(lèi)似文章
猜你喜歡
類(lèi)似文章
Struts-Menu使用指南-abin工作室-搜狐博客
冬之戀歌 | struts-menu學(xué)習(xí)(轉(zhuǎn)載 作者:sentom)
Struts Menu中基于角色的權(quán)限管理
Struts多模塊的技巧
Qiqi_Boy
Struts使用Tiles輔助開(kāi)發(fā)
更多類(lèi)似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長(zhǎng)圖 關(guān)注 下載文章
綁定賬號(hào)成功
后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服