How to use application.getAttribute in Java class
843840Jul 1 2008 — edited Jul 1 2008
Hi Forum,
Many Applications are using the API "application.getAttribute". we can set an attribute in application and can get it throughout the application. But this can be done only in JSP.
Is there any way to use the application attribute somewhere in java classes? or is there any other alternate or any other APIs regarding the same?
Please help me as I am running out of time and totally helpless.
can ServletContext be used in this scenario?
Thanks
Nitin