Dear Young
In my experience when u specified scope of your Java Bean it specify life
time of your bean.
if you specify scope as Page then
life span until page is displayed or control is for-warded to a new page
accessibility is current page only.
but if u specify as Request
life span until the request has been completely pro-cessed and the response
has been sent back to the user
accessibility is current page and any included or for-warded pages
Best Regards
Senaka
==============================
Senaka Suriyaarachchi
Team Leader
#23-03, East Tower
World Trade Center
Echelon Square
Colombo 01
Sri Lanka
Phone +94 1 473 920
Fax +94 1 473 910
Mobile +94 71 772 662
Email [EMAIL PROTECTED]
Web www.logicaltechcorp.com
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Young LI
Sent: Saturday, May 20, 2000 3:51 AM
To: [EMAIL PROTECTED]
Subject: The difference between "page" & "request" scopes?
Importance: High
Hi Friends,
I am a late comer to JSP. Can you explain to me what the difference is
between the "page" and "request" scopes of a bean?
Thanks,
Young
Oracle Corp.
===========================================================================
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