📄 htmlid.jsp
字号:
<jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:display="urn:jsptld:http://displaytag.sf.net"> <jsp:text> <![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ]]> </jsp:text> <jsp:directive.page contentType="text/html; charset=UTF8"/> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title>Displaytag unit test</title> </head> <body> <jsp:scriptlet> <![CDATA[ java.util.List testData = new java.util.ArrayList(); testData.add(new org.displaytag.test.KnownValue()); request.setAttribute( "test", testData); ]]> </jsp:scriptlet> <display:table id="table" name="test" htmlId="html1"> <display:column> <jsp:expression> ((org.displaytag.test.KnownValue)pageContext.getAttribute("table")).getBee() </jsp:expression> </display:column> </display:table> <display:table uid="table" name="test" htmlId="html2"> <display:column> <jsp:expression> ((org.displaytag.test.KnownValue)pageContext.getAttribute("table")).getBee() </jsp:expression> </display:column> </display:table> <display:table name="test" htmlId="html3"> <display:column property="bee" /> </display:table> </body> </html></jsp:root>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -