tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Jones" <kev...@develop.com>
Subject RE: javabeans + jsp
Date Fri, 15 Sep 2000 07:10:16 GMT
JavaBeans is a marketing term for any Java class that follows a set of
rules. The only two things a class MUST have to be a JavaBean is that they
must have a no-args constructor, and they must be serializable. Following
this most things in the standard Java ADK are JavaBeans, for example
java.util.Date has a no-args constructor and is serializable, so qualifies
as a bean.

To use these Java classes on a JSP page look in the spec. especially at the
section on the <jsp:useBean ... /> and associated tags,

Kevin Jones
DevelopMentor
www.develop.com

> -----Original Message-----
> From: Osvaldo Brito [mailto:osvaldo@laplace.inesc.pt]
> Sent: 14 September 2000 18:16
> To: tomcat-user@jakarta.apache.org
> Subject: javabeans + jsp
>
>
> Does anyone have an idea about how does work javabeans with jsp.
> Thanks in advance.
>
> Osvaldo Brito
>
>
>


Mime
View raw message