当新增页面和编辑页面使用同一jsp时 <c:if test="${type eq '1'}"><title>新增页面</title></c:if> <c:if test="${type eq '2'}"><title>编辑页面</title></c:if>