| home | view source |
Servlet Initial ParametersGenericServlet.getInitParameter() : age = 20GenericServlet.getInitParameter() : color = blue GenericServlet.getServletName() : ServletContextTest GenericServlet.getServletInfo() : Servlet Initial Parameters (ServletConfig)ServletConfig.getInitParameter() : age = 20ServletConfig.getInitParameter() : color = blue ServletConfig.getServletName() : ServletContextTest ServletContext Initial ParametersServletContext.getInitParameter() : javax.faces.STATE_SAVING_METHOD = serverServletContext.getMajorVersion() : 2 ServletContext.getMinorVersion() : 5 ServletContext.getServerInfo() : Jeus Web Container ServletContext.getMimeType() : image/gif ServletContext AttributesServletContext.getAttribute() : com.sun.faces.ApplicationImpl = com.sun.faces.application.ApplicationImpl@54e596adServletContext.getAttribute() : attr3 = attr3-1 ServletContext.getAttribute() : com.sun.faces.config.WebConfiguration = com.sun.faces.config.WebConfiguration@2d076366 ServletContext.getAttribute() : javax.servlet.context.tempdir = /home/tmax/jeus6/webhome/openapi_container1/_generated_/examples/examples_war/tempdir ServletContext.getAttribute() : context = examples ServletContext.getAttribute() : jspx.1st.request = true ServletContext.getAttribute() : com.sun.faces.ApplicationAssociate = com.sun.faces.application.ApplicationAssociate@400ed4a2 ServletContext.getAttribute() : description = For testing servlet APIs ServletContext.getAttribute() : com.sun.faces.sunJsfJs = [C@da9f889 Modified ServletContext Attributes(Removing "servlet" attribute)ServletContext.getAttribute() : com.sun.faces.ApplicationImpl = com.sun.faces.application.ApplicationImpl@54e596ad ServletContext.getAttribute() : attr3 = attr3-1 ServletContext.getAttribute() : com.sun.faces.config.WebConfiguration = com.sun.faces.config.WebConfiguration@2d076366 ServletContext.getAttribute() : javax.servlet.context.tempdir = /home/tmax/jeus6/webhome/openapi_container1/_generated_/examples/examples_war/tempdir ServletContext.getAttribute() : context = examples ServletContext.getAttribute() : jspx.1st.request = true ServletContext.getAttribute() : com.sun.faces.ApplicationAssociate = com.sun.faces.application.ApplicationAssociate@400ed4a2 ServletContext.getAttribute() : description = For testing servlet APIs ServletContext.getAttribute() : com.sun.faces.sunJsfJs = [C@da9f889 Attributes of Other ServletContext(Examples servlet context) examples context attribute : com.sun.faces.ApplicationImpl = com.sun.faces.application.ApplicationImpl@54e596adexamples context attribute : attr3 = attr3-1 examples context attribute : com.sun.faces.config.WebConfiguration = com.sun.faces.config.WebConfiguration@2d076366 examples context attribute : javax.servlet.context.tempdir = /home/tmax/jeus6/webhome/openapi_container1/_generated_/examples/examples_war/tempdir examples context attribute : context = examples examples context attribute : jspx.1st.request = true examples context attribute : com.sun.faces.ApplicationAssociate = com.sun.faces.application.ApplicationAssociate@400ed4a2 examples context attribute : description = For testing servlet APIs examples context attribute : com.sun.faces.sunJsfJs = [C@da9f889 Deprecated ServletContext APIs(Nothing must be printed)ServletContext Resource APIsServletContext.getResource() (/hello.html) : file:/home/tmax/jeus6/webhome/openapi_container1/examples/examples_war___/hello.htmlHello, World (This is hello.html file)ServletContext.getResourceAsStream() (/hello.html)Hello, World (This is hello.html file) |