Package org.glassfish.fighterfish.sample.osgihttp.helloworld

Class Summary
HelloWorldHttpActivator This activator demonstrates how to use HttpService using a ServiceTracker.
HelloWorldHttpMain This class is an SCR component.
HelloWorldServlet1 This servlet is very similar to HelloWorldServlet2 except that it uses HttpServlet#getServletConfig()#getServletContext() to retrieve the ServletContext and from there it reads the attribute values to demonstrate that it does not mater how you retrieve the ServletContext, they are all functionally equivalent.
HelloWorldServlet2 This servlet is very similar to HelloWorldServlet1 except that it uses HttpServletRequest#getSession(boolean)#getServletContext() to retrieve the ServletContext and from there it reads the attribute values to demonstrate that it does not mater how you retrieve the ServletContext, they are all functionally equivalent.
HelloWorldServlet3  
 



Copyright © 2013. All Rights Reserved.