Hi

Here is what one of our friend in mailing list comments.But i donno how much
it's true.Even i wanna clarification regarding this......

Regs
Veena
===================
hi everyone,

I am having a jsp file which uses a class(bean) for
accessing data. I then display the data from the
bean using "<%=" tags.

Initially i did it using <jsp:use-bean> tag. The jsp
page was slow. so i replaced the use-bean with
<%
   MyClass myObj = new MyClass();
%>

The jsp is some 5 times faster. Almost same as the
servlet version which used a template engine.

will this cause any problems? any comments.

thanks
Nagaraj
====================



----- Original Message -----
From: Rakesh Bhat <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 11, 2000 8:43 PM
Subject: 2 questions..


> > 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

Reply via email to