aspose file tools*
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: 9243
    
    1

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


SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
Ulf Dittmer
Marshal

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


Ping & DNS - updated with new look and Ping home screen widget
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: getServletContext() method?
 
Similar Threads
how to show a jsp after bean procesing is done?
ServletContext doubt??
servletcontext
Doubt in GenericServlet's log().
compilation error