Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > BOOK: Beginning JavaServer Pages
|
BOOK: Beginning JavaServer Pages
This is the forum to discuss the Wrox book Beginning JavaServer Pages by Vivek Chopra, Jon Eaves, Rupert Jones, Sing Li, John T. Bell; ISBN: 9780764574856
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning JavaServer Pages 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 April 21st, 2005, 03:40 AM
Registered User
 
Join Date: Apr 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to james_027
Default Chapter 2 Last Exercise has some problem

what is the difference between

<jsp:useBean id="newsfeed" class="com.wrox.begjsp.ch2.NewsFeed" scope="request/>
<jsp:setPreperty name="newsfeed" property="topic" value="weather"/>

and

<jsp:useBean id="newsfeed" class="com.wrox.begjsp.ch2.NewsFeed" scope="request>
<jsp:setPreperty name="newsfeed" property="topic" value="weather"/>
</jsp:useBean>

because in the last exercise this two scripts/statements have different results.

James



What good will it be for a man if he gains the whole world, yet forfeits his soul?
Matthew 16:26
 
Old May 25th, 2005, 08:19 PM
Wrox Author
 
Join Date: May 2005
Posts: 4
Thanks: 1
Thanked 2 Times in 2 Posts
Default

The difference is explained on Page 244 in Chapter 8.

The code inside the tag body will not be executed if the
JavaBean cannot be located or created.





Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in the exercise chapter 6 derrida BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 March 16th, 2007 08:48 AM
Chapter 5 - Exercise 1 scgtman BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5 3 May 16th, 2006 08:10 PM
Chapter 3 Exercise 3 Matt WAXON BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 3 July 4th, 2005 02:19 AM
Problem with Chapter 2, Exercise 2 paultf BOOK: Beginning Java 2 3 December 1st, 2003 06:13 AM
Problem with exercise in chapter 19 backslash BOOK: Beginning Visual C++ 6 4 September 5th, 2003 11:46 AM





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