显示标签标题不起作用

发布于 2024-08-28 17:43:15 字数 482 浏览 8 评论 0原文

我正在使用 displaytag 来呈现数据,它可以正常工作,没有任何问题。一旦我使用 display:caption,我就会收到 JSP 编译错误,并显示以下消息。我错过了什么吗?我认为添加标题会很简单。如果我删除显示:标题一切正常。

aaaaa.jsp:527:14: 无法识别该标记。 这是表标题

Jsp 代码:

这是表格标题

设置

Displaytag1.2 网络-inf/lib Displaytag-1.2.jar Displaytag-export-poi-1.2.jar Displaytag-portlet-1.2.har itext-1.3.jar Itext-2.0.5.jar

WEB-INF/tlds 显示标签.tld Displaytag-12.tld Displaytag-el.td

I am using displaytag to render data, I have it working without any issues. As soon as I use display:caption I get JSP compilation error with the below message. Am I missing anything? I thougt including caption would be simple. If I remove display:caption everything works fine.

aaaaa.jsp:527:14: This tag is not recognized.
This is the table caption

Jsp code:

This is the table caption

Setup

Displaytag1.2
Web-inf/lib
Displaytag-1.2.jar
Displaytag-export-poi-1.2.jar
Displaytag-portlet-1.2.har
Itext-1.3.jar
Itext-2.0.5.jar

WEB-INF/tlds
Displaytag.tld
Displaytag-12.tld
Displaytag-el.td

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

神魇的王 2024-09-04 17:43:15

你能把你的jsp代码片段放在这里吗?它将帮助其他人回答。
此外,您还可以更改标题文本以查看标题文本是否包含标签不支持的某些特殊字符。
最后,确保您的 display:caption 标记位于 display:table 标记内。

Can you put your jsp code fragment here? It will help others to answer.
Also, you can change caption text to see if caption text has some special characters the tag doesn't support.
Lastly, make sure your display:caption tag is inside display:table tag.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文