A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
How to access application object in taglib
Joined: Sep 28, 2002
Nov 11, 2002 06:28:00
I want to get some value which is stored in application object.
plz let me konw if it is possible.
thanks & regards
sharp shooter, and author
Joined: May 10, 2000
Nov 11, 2002 07:05:00
As with all of the [request/page/session/application] scoped objects, you can access them through the page context as follows:
Object o = pageContext.getAttribute("name", PageContext.APPLICATION_SCOPE);
I agree. Here's the link:
subject: How to access application object in taglib
Storing InputStream object to Application scope in servlet and retrieving
ServletContext Doubt / Poll
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014