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 September 24th, 2003, 04:17 AM
Authorized User
 
Join Date: Jun 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default <jsp:setProperty />

In Beginning JSP 2.0, Chapter 8, page 258, the loginException.jsp uses the following setProperty code:

<jsp:setProperty name="myUser" property="*" />

Can somebody please explain what the "*" means - does it mean that we set all of the javabean's properties with all of the values posted to the JSP by the html webform?

Many thanks.


 
Old September 28th, 2003, 11:48 PM
Authorized User
 
Join Date: Aug 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, you're exactly right. The "*" means it will set all the MATCHING bean properties with the values posted....found it on Sun's site via Google.

 
Old September 29th, 2003, 06:42 AM
Authorized User
 
Join Date: Jun 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks hatleyt. I also found this info, and other useful stuff in Appendix A (p764). Should have looked there first . . . Sorry

 
Old September 30th, 2003, 08:03 AM
Authorized User
 
Join Date: Aug 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No problem...don't worry about asking, we're all learning this together ;)






Similar Threads
Thread Thread Starter Forum Replies Last Post
<jsp:useBean> action problem austinf JSP Basics 1 August 21st, 2006 04:23 PM
<style> tags in a <body> vs. <div> bcat BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 1 March 27th, 2005 08:50 AM
<marquee><b>About CHAT App. in PHP4</b></marquee> Ramkrishna PHP How-To 1 September 11th, 2004 07:01 AM
<STRONG> vs <B> and <EM> vs <I> anshul HTML Code Clinic 12 September 1st, 2004 05:22 PM
Where is the code of <Professional JSP 2nd Editio> dumiyue Wrox Book Feedback 5 May 24th, 2004 11:52 PM





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