wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes getServletContext() method? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "getServletContext() method?" Watch "getServletContext() method?" New topic
Author

getServletContext() method?

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Why there is a getServletContext() method in the ServletConfig interface?


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41101
    
  45
If there wasn't, how would you get at the context information during the Servlet.init call?


Ping & DNS - my free Android networking tools app
 
 
subject: getServletContext() method?
 
Similar Threads
compilation error
Doubt in GenericServlet's log().
how to show a jsp after bean procesing is done?
servletcontext
ServletContext doubt??