Chapter2:problem in rendering weather table
Hello,
I precise that I'm french so that you won't be amazed by my english.
Well, I was trying to do exercise 2 and found some weird behavior.
the following showportal.jsp works :
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<link rel=stylesheet type="text/css" href="portal.css">
<title>New Portal</title>
</head>
<body>
<jsp:include page="weather.jsp" >
<jsp:param name="mode" value="standalone"/>
</jsp:include>
<jsp:include page="news.jsp" >
<jsp:param name="mode" value="standalone"/>
</jsp:include>
<jsp:include page="entertain.jsp" >
<jsp:param name="mode" value="standalone"/>
</jsp:include>
</body>
</html>
but not this one (change : i move the include of weather between news.jsp and entertain.jsp)
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<link rel=stylesheet type="text/css" href="portal.css">
<title>New Portal</title>
</head>
<body>
<jsp:include page="news.jsp" >
<jsp:param name="mode" value="standalone"/>
</jsp:include>
<jsp:include page="weather.jsp" >
<jsp:param name="mode" value="standalone"/>
</jsp:include>
<jsp:include page="entertain.jsp" >
<jsp:param name="mode" value="standalone"/>
</jsp:include>
</body>
</html>
now the table of weather won't be displayed but the title (You Get the Latest Weather!) will
I just wonder why ?
thanks a lot
sam
|