<c:out/>标签

<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<!-- 如果excapeXml为true,则会对输出的内容进行XML编码(只对特殊的字符如"&","<",">"等编码) -->
action 参数为:<c:out value="${ param.action }" default="No parameter named 'action' found. " escapeXml="true"></c:out>

</body>
</html>

posted @ 2015-06-02 15:36  Nick_zerui  阅读(506)  评论(0编辑  收藏  举报