Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
difference between getting servletcontext from different ways
Rahul P Kumar
Joined: Sep 26, 2009
Nov 11, 2009 02:00:47
What is the difference when I get servletContext from getServletContext() and from request.getSession().getServletContext()?
Joined: Apr 14, 2004
Nov 11, 2009 02:13:02
Nothing really, two ways of doing the same thing.
I agree. Here's the link:
subject: difference between getting servletcontext from different ways
question about the method to get ServletContext
Obtain ServletContext from Request
ServletContext Vs ServletConfig
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014