I want to add one more point.
If you use <useBean....> taglet to instantiate JavaBeans, you can enjoy the
benefits of bean "Introspection".
cheers,
dinesh.
----- Original Message -----
From: Rathinavel Palaniappan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 11, 2000 6:13 PM
Subject: Re: 2 questions..
> you can create a bean instance by using the
> scriptlet but the advantage you get over
> useBean tag is the scope of the bean.
>
> If i remember correctly , the difference between the
> scopes are,
>
> session - life time is equvalent to session expire time
> (which is configurable).
> request - for that particular request
> application - for the whole application
>
> hope it helps,
>
> with regards,
> rathna.
>
> Rakesh Bhat wrote:
>
> > > Hi pals,
> >
> > I have 2 basic questions w.r.t jsp.
> >
> > 1)What is the use of doing
> >
> > <jsp:useBean .............>
> >
> > can't i directly create an instance of the class (i mean bean) in the
scriptlet
> > and use it ?
> >
> > is ther any advantage ?
> >
> > 2)can anyone tell me the difference btw
> >
> > 1) request
> > 2)session
> > 3)application
> >
> > scopes ? when to use each one explicitly ?
> >
> > Regds
> > Rakesh.
> >
> >
===========================================================================
> > 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
===========================================================================
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