Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSP
Search Coderanch
Advance search
Google search
Register / Login
Forums
Register
Login
Java
»
JSP
difference between getServletContext().setAttribute() and public data members in servlet class?
Gautam Bhalla
,
Ranch Hand
Aug 09, 2013 05:39:38
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
What is difference between getServletContext().setAttribute() and public data members in
servlet
classes?
William Brogden
,
Author and all-around good cowpoke
Aug 09, 2013 06:59:38
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
The difference is the scope in which these variables are visible.
Bill
Bear Bibeault
,
Sheriff
staff
Aug 09, 2013 08:22:16
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
And that public data members in the servlets will cause no end of threading issues and problems.
Post by:
autobot
I didn't do it. You can't prove it. Nobody saw me. The sheep are lying! This tiny ad is my witness!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
This thread has been viewed 1113 times.
Similar Threads
How to share a context (Struts and servlet)
"application" and "getServeltContext"
Servlet Calling Public Methods of Another Servlet
Diffenrence between application and servletConfig - servletcontext
how to change values in servlet context
More...
All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 01:58:57
.