JSTL包含JSP文件r是出F一黑方K

05-10-14 jjjjj
JSTL包含JSP文件r是出F一黑方K

代a如下:

<%@ page contentType="text/html; charset=UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<%@ include file="UserSession.jsp"%>

<fmt:requestEncoding value="UTF-8" />

<html>

<c:set var="loc" value="en_US"/>

<c:if test="${!(empty param.locale)}">

<c:set var="loc" value="${param.locale}"/>

</c:if>

....

W@示原a:

jjjjjiM21744Uk5.jpg

jjjjj
2005-10-14 15:30
JSTL包含JSP文件r是出F一黑方K

代a如下:

<%@ page contentType="text/html; charset=UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<%@ include file="UserSession.jsp"%>

<fmt:requestEncoding value="UTF-8" />

<html>

<c:set var="loc" value="en_US"/>

<c:if test="${!(empty param.locale)}">

<c:set var="loc" value="${param.locale}"/>

</c:if>

....

W@示原a:

jjjjj
2005-10-14 15:31

JSTL包含JSP文件r是出F一黑方K 
代a如下:
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ include file="UserSession.jsp"%>
<fmt:requestEncoding value="UTF-8" />
<html>
<c:set var="loc" value="en_US"/>
<c:if test="${!(empty param.locale)}">
<c:set var="loc" value="${param.locale}"/>
</c:if>
....


W@示原a:

<p>

jjjjj
2005-10-14 15:31
JSTL方面的高手指c迷津,xx

joessy
2005-10-18 17:43
是空格吗?

把你的<html>前面的标签都连在一起写看看:S

...%><%@ ....%><html>...

猜你喜欢