Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 17th, 2007, 09:50 AM
Registered User
 
Join Date: Jan 2007
Location: , , .
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

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 08: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 07:22 PM
Safari not rendering div inside table irjaelisa CSS Cascading Style Sheets 1 July 10th, 2006 10:59 PM



All times are GMT -4. The time now is 10:24 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.