This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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


Win a copy of Building Microservices this week in the Design forum!
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: 9956
    
    3

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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
If there wasn't, how would you get at the context information during the Servlet.init call?
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: getServletContext() method?
 
jQuery in Action, 3rd edition