⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 actionator.jsp

📁 联合国农粮署牵头开发的geonetwork源代码最新版
💻 JSP
字号:
<%@ taglib uri="/tags/struts-bean" prefix="bean" %><%@ taglib uri="/tags/struts-html" prefix="html" %><%@ taglib uri="/tags/struts-logic" prefix="logic" %><%@ taglib uri="/tags/struts-tiles" prefix="tiles" %><%@ page import="org.apache.struts.action.*" %><logic:notEmpty name="actionForwards">  <table class="actions">    <tbody><%  // Access actionForwards - could not figure out how to with tags    String forwards = (String) request.getAttribute("actionForwards");    String[] array = forwards.split(":"); 	    for (int index = 0; index < array.length; index ++) {%>      <tr>        <td><%  String forward = array[ index ];    if( forward.length() == 0 ){%>          <hr/><%  }    else if (forward.startsWith("/")) {        String action = forward.substring(1);%>          <html:link style="action"                     action="<%= action %>">            <%= action %>          </html:link><%  }    else {%>                        <html:link style="action"                     forward="<%= forward %>"                     titleKey='<%= forward+".short" %>'>            <bean:message key='<%= forward+".label" %>'/>          </html:link><%  }%>                  </td>      </tr><%  } %>    </tbody>  </table></logic:notEmpty>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -