Link to home
Start Free TrialLog in
Avatar of gudii9
gudii9Flag for United States of America

asked on

ServletContext

i was reading as following

The ServletContext object is contained in the ServletConfig object.
We can also use the getServletContext() method of the GenericServlet class.

I wonder which one preferred to use in which situation. Please advise
Any ideas, suggestions, sample code, links, source code highly appreciated. Thanks in advance
SOLUTION
Avatar of Kuldeepchaturvedi
Kuldeepchaturvedi
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of girionis
girionis
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial