显示标签标题不起作用
我正在使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你能把你的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 insidedisplay:table
tag.