File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
difference between getServletContext().setAttribute() and public data members in servlet class?
Joined: Mar 31, 2013
Aug 09, 2013 05:39:38
What is difference between getServletContext().setAttribute() and public data members in
Author and all-around good cowpoke
Joined: Mar 22, 2000
Aug 09, 2013 06:59:38
The difference is the scope in which these variables are visible.
Author and ninkuma
Joined: Jan 10, 2002
Aug 09, 2013 08:22:16
And that public data members in the
will cause no end of threading issues and problems.
Asking smart questions
Books by Bear
rocket mass heater
subject: difference between getServletContext().setAttribute() and public data members in servlet class?
Servlet Calling Public Methods of Another Servlet
"application" and "getServeltContext"
Diffenrence between application and servletConfig - servletcontext
how to change values in servlet context
How to share a context (Struts and servlet)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014