---
title: "关于TLD的配置"
author: "foxjj123"
date: "2010-03-31T15:36:46Z"
tags: []
categories: ["编程语言"]
slug: "tld"
draft: false
lastmod: "2010-03-31T15:36:46Z"
id: 629243
url: "https://foxjj123.iteye.com/blog/629243"
---

```java
<?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> 

```

在<tag>位置出现了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?)".


求解啊。。。搞了好久。。。