[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-user
Subject:    Application Scope
From:       <crabcorn () yahoo ! com>
Date:       2001-07-31 16:32:40
[Download RAW message or body]

Hi,

  If I declare a bean of scope="application"
can I use this bean again on another JSP?
Basically I want to instantiate a class
for the whole app and then from different
pages access that class. Is this possible?
Because you have to put the bean declaration
in the JSP to be able to use it. And if
I dont redeclare it it complains that my
class is not defined. Can you not access
application defined beans from more than
one page?

  Thanks so much for your help!!!!

  

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic