ITeye博客

关于TLD的配置

foxjj123 · 2010-03-31 15:36 · 编程语言 · Markdown

<?xml version="1.0" encoding="GBK"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
                        "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
 	<tlib-version>1.0</tlib-version>
 	<jsp-version>1.2</jsp-version>
 	<short-name>util</short-name>
	<tag>
		<name>requestParameter</name>
		<tagclass>tags.GetRequestParameterTag</tagclass>

		<attribute>
			<name>property</name>
			<required>true</required>
			<rtexprvalue>true</rtexprvalue>
		</attribute>
		<bodycontent>Empty</bodycontent>
 	</tag>
</taglib> 

在位置出现了The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display- name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".

求解啊。。。搞了好久。。。

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。