在配置web.xml的时候,配置一个jsp-config没有问题,但是配置两个jsp-config的时候,出现如下异常:
严重: Begin event threw exception
java.lang.IllegalArgumentException: <jsp-config> element is limited to 1 occuran
ce
at org.apache.catalina.startup.SetJspConfig.begin(WebRuleSet.java:535)
at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1
358)
是不是web.xml里面只能配置一个jsp-config?下面是我的配置,请大家指教!
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4"
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-app_2_4.xsd">
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<jsp-config>
<taglib>
<taglib-uri>http://com.org/DataTags</taglib-uri>
<taglib-location>/WEB-INF/tags/DataTag.tld</taglib-location>
</taglib>
</jsp-config>
<jsp-config>
<taglib>
<taglib-uri>/mytld</taglib-uri>
<taglib-location>/WEB-INF/tags/FunAuth.tld</taglib-location>
</taglib>
</jsp-config>
</web-app>
配置错了,呵呵,太大意了
<jsp-config>
<taglib>
<taglib-uri>http://com.org/DataTags</taglib-uri>
<taglib-location>/WEB-INF/tags/DataTag.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/mytld</taglib-uri>
<taglib-location>/WEB-INF/tags/FunAuth.tld</taglib-location>
</taglib>
</jsp-config>
相关推荐
Copy "proe_mech_WF5_Win64_#1_crk.exe" to folder <proeWildfire 5.0 progdir>\mech\i486_nt\obj and click "Next > OK > Next > OK > Next > OK > Next > OK > Finish > OK" Copy "proe_mech_WF5_Win64_#2_crk.exe...
Copy "proe_mech_WF5_Win64_#1_crk.exe" to folder <proe Wildfire 5.0 progdir>\mech\x86e_win64\obj and click "Next > OK > Next > OK > Next > OK > Next > OK > Finish > OK" Copy "proe_mech_WF5_Win64_#2_...
GLCM calculates the gray level co-occurance of the pixels. It is the code in which inbuilt function is not used.
4 |特征提取 |用于特征提取的脚本(ADOTP、MDI2、I2C、D2MA、JPBC、Co-Occurance) 5 |情节 |图形绘制脚本 6 |火车测试 |通过 svm 和集成分类器进行训练、验证和测试 7 |实用程序|一些基本工具,例如获取文件名...
leetcode 2 算法和数据结构 介绍: 一些令人费解的编程问题,您实际上可以在 ...occurance of every element because that leads to a space complexity O(n). Let's take an analogy. Imagine a Leaderboa
OrCAD中Instance和Occurrence属性的区别~`