Which is why Integer objects for instance can't be JSP beans - they lack a
no-arg constructor.
Dan
--
Daniel Kirkdorffer
NACN IS: 425-580-6225
Sr. Consultant, Syllogistics LLC
Email: [EMAIL PROTECTED]
Web: http://www.syllogistics.com/
> ----------
> From: LAURENCE CABLE[SMTP:[EMAIL PROTECTED]]
> Reply To: LAURENCE CABLE
> Sent: Friday, May 07, 1999 11:57 AM
> To: [EMAIL PROTECTED]
> Subject: Re: usebean
>
> <<File: Larry.Cable.vcf>>
> > Hi,
> >
> > I am new to JSP and have been trying to go through the JSP Version 1
> Public
> > Draft to get an idea of the concept behind JSP. While having
> declaratives,
> > actions, expressions etc. were all making sense, the one thing which I
> could
> > not be sure about was this - "When you define a class in USEBEAN, is it
> just
> > any java class or is it some kind of a special class implementing a
> certain
> > interface etc."
> >
> > I did not see anything in the documentation that talked about how to
> write
> > the beans referred to in the "USEBEAN" tag.
> >
>
> The "beans" used by the usebean tag do not need to implement any
> particular JSP dependent interface or derive from a particular
> class. The only constraint is that they implement a public
> "no-args"
> constructor:
>
> public class CanonicalButUselessBean { public
> CanonicalButUselessBean()
> { } }
>
> Rgds
>
> - Larry Cable
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".