By the book (never tried):

Just declare it exactly as in the first page. The JSP runner should
decode the reference properly and point to the previously instantiated object.


RAJESH SINGHANIA wrote:
>
> hi guys,
>
> sorry for eating ur time
>
> first page:
> i am using usebean tag to my jsp page and giving
> scope="application" and doing nothing in this page
> then i go to
>
> second page:
> since i have declared the bean scope as application in
> the first page then that instance of a bean must be
> visible to this page
> can anybody suggest me to how to get the same bean
> instance in the second page.
> bye
> rajesh
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
>
> ===========================================================================
> 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