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
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
ServletContext Vs ServletConfig
question about the method to get ServletContext
Obtain ServletContext from Request
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015