Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 17th, 2007, 10:50 AM
Registered User
 
Join Date: Jan 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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






Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems rendering to a table with sorted results jlmacdonald XSLT 6 March 27th, 2008 05:54 PM
Problem with Rendering Reports. Somesh Reporting Services 0 November 29th, 2007 09:19 AM
Table rendering with table & comboBox pazzuzu Java GUI 0 May 9th, 2007 09:04 AM
problem with master page rendering in ch02 MM BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 5 December 5th, 2006 08:22 PM
Safari not rendering div inside table irjaelisa CSS Cascading Style Sheets 1 July 10th, 2006 10:59 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.