home | view source |
Servlet Initial ParametersGenericServlet.getInitParameter() : color = blueGenericServlet.getInitParameter() : age = 20 GenericServlet.getServletName() : ServletContextTest GenericServlet.getServletInfo() : Servlet Initial Parameters (ServletConfig)ServletConfig.getInitParameter() : color = blueServletConfig.getInitParameter() : age = 20 ServletConfig.getServletName() : ServletContextTest ServletContext Initial ParametersServletContext.getInitParameter() : jeus.servlet.jsp.nullReplacementString = nullServletContext.getInitParameter() : javax.faces.STATE_SAVING_METHOD = server ServletContext.getMajorVersion() : 3 ServletContext.getMinorVersion() : 0 ServletContext.getServerInfo() : JEUS 7.0 (Fix#4) ServletContext.getMimeType() : image/gif ServletContext AttributesServletContext.getAttribute() : com.sun.faces.config.WebConfiguration = com.sun.faces.config.WebConfiguration@19f6516ServletContext.getAttribute() : servlet = ServletContextTest ServletContext.getAttribute() : javax.faces.validator.beanValidator.ValidatorFactory = org.hibernate.validator.internal.engine.ValidatorFactoryImpl@f588b55 ServletContext.getAttribute() : description = For testing servlet APIs ServletContext.getAttribute() : com.sun.faces.htmlTLVEnabled = false ServletContext.getAttribute() : org.apache.jasper.compiler.TldLocationsCache = org.apache.jasper.compiler.TldLocationsCache@b670e66 ServletContext.getAttribute() : org.apache.tomcat.JarScanner = jeus.servlet.jsp.JarScannerImpl@4e65816e ServletContext.getAttribute() : com.sun.faces.errorPagePresent = false ServletContext.getAttribute() : com.sun.faces.patternCache = {:=:, = } ServletContext.getAttribute() : context = examples ServletContext.getAttribute() : com.sun.faces.application.InjectionApplicationFactory = com.sun.faces.application.ApplicationImpl@34a8ea61 ServletContext.getAttribute() : com.sun.faces.InitFacesContext = com.sun.faces.config.InitFacesContext@7f61cd82 ServletContext.getAttribute() : org.apache.jasper.runtime.JspApplicationContextImpl = org.apache.jasper.runtime.JspApplicationContextImpl@4c46f836 ServletContext.getAttribute() : javax.servlet.context.tempdir = C:\TmaxSoft\JEUS7.0\domains\jeus_domain\servers\server1\.workspace\deployed\examples\examples_ear___\examples_war___\tempdir ServletContext.getAttribute() : com.sun.faces.ApplicationAssociate = com.sun.faces.application.ApplicationAssociate@2e4a7e21 ServletContext.getAttribute() : jeus.servlet.jsp.JspWorkDir = C:\TmaxSoft\JEUS7.0\domains\jeus_domain\servers\server1\.workspace\deployed\_generated_\examples\examples_war\__jspwork ServletContext.getAttribute() : jeus.servlet.jsp.java-class-file-writer = java.util.concurrent.Executors$FinalizableDelegatedExecutorService@5dc2726b ServletContext.getAttribute() : javax.faces.FactoryFinder.FactoryManagerCacheKey = 1713950939068 ServletContext.getAttribute() : org.apache.tomcat.InstanceManager = jeus.servlet.jsp.InstanceManagerImpl@2c3eb98c ServletContext.getAttribute() : javax.faces.BEANS_VALIDATION_AVAILABLE = true ServletContext.getAttribute() : jeus.servlet.jsp.CompileOutputDir = C:\TmaxSoft\JEUS7.0\domains\jeus_domain\servers\server1\.workspace\deployed\_generated_\examples\examples_war\__jspwork ServletContext.getAttribute() : attr3 = attr3-1 ServletContext.getAttribute() : jeus.servlet.jsp.JspConfig = jeus.servlet.jsp.JspConfig@57427375 ServletContext.getAttribute() : DEFAULT_RESOURCE_CLASSES = [] ServletContext.getAttribute() : com.sun.faces.webresources = [file:/C:/TmaxSoft/JEUS7.0/domains/jeus_domain/servers/server1/.workspace/deployed/examples/examples_ear___/examples_war___/WEB-INF/faces-config.xml] Modified ServletContext Attributes(Removing "servlet" attribute)ServletContext.getAttribute() : com.sun.faces.config.WebConfiguration = com.sun.faces.config.WebConfiguration@19f6516 ServletContext.getAttribute() : javax.faces.validator.beanValidator.ValidatorFactory = org.hibernate.validator.internal.engine.ValidatorFactoryImpl@f588b55 ServletContext.getAttribute() : description = For testing servlet APIs ServletContext.getAttribute() : com.sun.faces.htmlTLVEnabled = false ServletContext.getAttribute() : org.apache.jasper.compiler.TldLocationsCache = org.apache.jasper.compiler.TldLocationsCache@b670e66 ServletContext.getAttribute() : org.apache.tomcat.JarScanner = jeus.servlet.jsp.JarScannerImpl@4e65816e ServletContext.getAttribute() : com.sun.faces.errorPagePresent = false ServletContext.getAttribute() : com.sun.faces.patternCache = {:=:, = } ServletContext.getAttribute() : context = examples ServletContext.getAttribute() : com.sun.faces.application.InjectionApplicationFactory = com.sun.faces.application.ApplicationImpl@34a8ea61 ServletContext.getAttribute() : com.sun.faces.InitFacesContext = com.sun.faces.config.InitFacesContext@7f61cd82 ServletContext.getAttribute() : org.apache.jasper.runtime.JspApplicationContextImpl = org.apache.jasper.runtime.JspApplicationContextImpl@4c46f836 ServletContext.getAttribute() : javax.servlet.context.tempdir = C:\TmaxSoft\JEUS7.0\domains\jeus_domain\servers\server1\.workspace\deployed\examples\examples_ear___\examples_war___\tempdir ServletContext.getAttribute() : com.sun.faces.ApplicationAssociate = com.sun.faces.application.ApplicationAssociate@2e4a7e21 ServletContext.getAttribute() : jeus.servlet.jsp.JspWorkDir = C:\TmaxSoft\JEUS7.0\domains\jeus_domain\servers\server1\.workspace\deployed\_generated_\examples\examples_war\__jspwork ServletContext.getAttribute() : jeus.servlet.jsp.java-class-file-writer = java.util.concurrent.Executors$FinalizableDelegatedExecutorService@5dc2726b ServletContext.getAttribute() : javax.faces.FactoryFinder.FactoryManagerCacheKey = 1713950939068 ServletContext.getAttribute() : org.apache.tomcat.InstanceManager = jeus.servlet.jsp.InstanceManagerImpl@2c3eb98c ServletContext.getAttribute() : javax.faces.BEANS_VALIDATION_AVAILABLE = true ServletContext.getAttribute() : jeus.servlet.jsp.CompileOutputDir = C:\TmaxSoft\JEUS7.0\domains\jeus_domain\servers\server1\.workspace\deployed\_generated_\examples\examples_war\__jspwork ServletContext.getAttribute() : attr3 = attr3-1 ServletContext.getAttribute() : jeus.servlet.jsp.JspConfig = jeus.servlet.jsp.JspConfig@57427375 ServletContext.getAttribute() : DEFAULT_RESOURCE_CLASSES = [] ServletContext.getAttribute() : com.sun.faces.webresources = [file:/C:/TmaxSoft/JEUS7.0/domains/jeus_domain/servers/server1/.workspace/deployed/examples/examples_ear___/examples_war___/WEB-INF/faces-config.xml] Attributes of Other ServletContext(Examples servlet context) examples context attribute : com.sun.faces.config.WebConfiguration = com.sun.faces.config.WebConfiguration@19f6516examples context attribute : javax.faces.validator.beanValidator.ValidatorFactory = org.hibernate.validator.internal.engine.ValidatorFactoryImpl@f588b55 examples context attribute : description = For testing servlet APIs examples context attribute : com.sun.faces.htmlTLVEnabled = false examples context attribute : org.apache.jasper.compiler.TldLocationsCache = org.apache.jasper.compiler.TldLocationsCache@b670e66 examples context attribute : org.apache.tomcat.JarScanner = jeus.servlet.jsp.JarScannerImpl@4e65816e examples context attribute : com.sun.faces.errorPagePresent = false examples context attribute : com.sun.faces.patternCache = {:=:, = } examples context attribute : context = examples examples context attribute : com.sun.faces.application.InjectionApplicationFactory = com.sun.faces.application.ApplicationImpl@34a8ea61 examples context attribute : com.sun.faces.InitFacesContext = com.sun.faces.config.InitFacesContext@7f61cd82 examples context attribute : org.apache.jasper.runtime.JspApplicationContextImpl = org.apache.jasper.runtime.JspApplicationContextImpl@4c46f836 examples context attribute : javax.servlet.context.tempdir = C:\TmaxSoft\JEUS7.0\domains\jeus_domain\servers\server1\.workspace\deployed\examples\examples_ear___\examples_war___\tempdir examples context attribute : com.sun.faces.ApplicationAssociate = com.sun.faces.application.ApplicationAssociate@2e4a7e21 examples context attribute : jeus.servlet.jsp.JspWorkDir = C:\TmaxSoft\JEUS7.0\domains\jeus_domain\servers\server1\.workspace\deployed\_generated_\examples\examples_war\__jspwork examples context attribute : jeus.servlet.jsp.java-class-file-writer = java.util.concurrent.Executors$FinalizableDelegatedExecutorService@5dc2726b examples context attribute : javax.faces.FactoryFinder.FactoryManagerCacheKey = 1713950939068 examples context attribute : org.apache.tomcat.InstanceManager = jeus.servlet.jsp.InstanceManagerImpl@2c3eb98c examples context attribute : javax.faces.BEANS_VALIDATION_AVAILABLE = true examples context attribute : jeus.servlet.jsp.CompileOutputDir = C:\TmaxSoft\JEUS7.0\domains\jeus_domain\servers\server1\.workspace\deployed\_generated_\examples\examples_war\__jspwork examples context attribute : attr3 = attr3-1 examples context attribute : jeus.servlet.jsp.JspConfig = jeus.servlet.jsp.JspConfig@57427375 examples context attribute : DEFAULT_RESOURCE_CLASSES = [] examples context attribute : com.sun.faces.webresources = [file:/C:/TmaxSoft/JEUS7.0/domains/jeus_domain/servers/server1/.workspace/deployed/examples/examples_ear___/examples_war___/WEB-INF/faces-config.xml] Deprecated ServletContext APIs(Nothing must be printed)ServletContext Resource APIsServletContext.getResource() (/hello.html) : file:/C:/TmaxSoft/JEUS7.0/domains/jeus_domain/servers/server1/.workspace/deployed/examples/examples_ear___/examples_war___/hello.htmlHello, World (This is hello.html file)ServletContext.getResourceAsStream() (/hello.html)Hello, World (This is hello.html file) |