?? htmlformat.tag.real
字號:
<%@ taglib prefix="fn" uri="http://java.sun.com/jstl/fn" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ tag body-content="scriptless" %>
<%-- Capture the body evaluation result in a variable --%>
<c:out value="${pageContext.request.servletPath}" />
Before conversion: <c:out value="${bodyRes}"/>
<%-- Convert special characters to character entities --%>
<c:set var="escapedBody" value="${fn:escapeXml(bodyRes)}" />
<%-- Replace "[code]/[/code]" with "<code>/</code>" --%>
<c:set var="convBody"
value="${fn:replace(escapedBody, '[code]', '<code>')}" />
<c:set var="convBody"
value="${fn:replace(convBody, '[/code]', '</code>')}" />
<%-- Ouput the result --%>
Result: ${convBody}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -