You're overthinking this...all I'm saying is that
a) a class does not inherently map form fields to attributes
b) a bean being used by a JSP can automatically set its attributes using get
and set routines that you write once in the bean class
that's all I'm saying!
Gerry
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Robert Anglos
Sent: Monday, November 22, 1999 9:15 AM
To: [EMAIL PROTECTED]
Subject: Re: Class Vs JavaBean

Could you please clarify this for me. Are you saying that there is a single
instance and therefor all calls, regardless of browser session, access the
same
bean (i.e. a static class or method) or, refering to the change all matching
elements comment, that there is polymorphism occuring.
Robert
Diane Marie Palmer wrote:
> One difference comes when using them for JSP...the JSP engine will
> automatically call the bean setter routines for all matching forms
elements,
> which makes handling large forms much easier. A class of course doesn't do
> that whereas a bean does.
>
> Gerry
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html

-----------------------------------------------
Gerry Palmer
Home: 540-882-4053
Cell: 703-623-3714
Fax: 877-214-1699
[EMAIL PROTECTED]
-----------------------------------------------

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to