<?xml version="1.0" encoding="UTF-8" ?>
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
version="2.0">
<description>JSTL 1.1 functions library</description>
<display-name>JSTL functions sys</display-name>
<tlib-version>1.1</tlib-version>
<short-name>fns</short-name>
<uri>http://java.sun.com/jsp/jstl/functionss</uri>
<function>
<description>獲取管理路徑</description>
<name>getAdminPath</name>
<function-class>com.jeeplus.common.config.Global</function-class>
<function-signature>java.lang.String getAdminPath()</function-signature>
<example>${fns:getAdminPath()}</example>
</function>
uj5u.com熱心網友回復:
uri可以改的
<?xml version="1.0" encoding="UTF-8"?>
<taglib>
<tlib-version>2.0</tlib-version>
<jsp-version>1.0</jsp-version>
<shortname>m</shortname>
<uri>/mvc</uri>
<tag>
<description>輸出背景關系路徑</description>
<name>contextPath</name>
<tag-class>org.apache.commons.mvc.tag.ContextPathTag</tag-class>
<body-content>empty</body-content>
</tag>
</taglib>
JSP頁面代碼:
<%@ taglib prefix="m" uri="/mvc"%>
<script type="text/javascript" src="https://bbs.csdn.net/topics/
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/27841.html
標籤:Web 開發
下一篇:IDEA配置tomcat啟動報錯
