There really isn't a difference. According to the book "JavaServer Pages" by
Larne Pekowsky (p. 49):

        The [getProperty format] is recommended because it makes it clear that the
        object is a bean. In addition, down the road the bean specification may be
        expanded so that a bean can comprise multiple classes, at which point this
        translation will not work any more.

--Jim Preston

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Joshua Gould
Sent: Tuesday, May 23, 2000 11:01 AM
To: [EMAIL PROTECTED]
Subject: <jsp:getProperty>


I don't understand the difference between <jsp:getProperty> and calling a
get method directly, e.g. <%=getName()%>

Thank you
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to