home view source

Servlet Initial Parameters

GenericServlet.getInitParameter() : color = blue
GenericServlet.getInitParameter() : age = 20
GenericServlet.getServletName() : ServletContextTest
GenericServlet.getServletInfo() :

Servlet Initial Parameters (ServletConfig)

ServletConfig.getInitParameter() : color = blue
ServletConfig.getInitParameter() : age = 20
ServletConfig.getServletName() : ServletContextTest

ServletContext Initial Parameters

ServletContext.getInitParameter() : jeus.servlet.jsp.nullReplacementString = null
ServletContext.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 Attributes

ServletContext.getAttribute() : com.sun.faces.config.WebConfiguration = com.sun.faces.config.WebConfiguration@5f4117e8
ServletContext.getAttribute() : javax.faces.validator.beanValidator.ValidatorFactory = org.hibernate.validator.internal.engine.ValidatorFactoryImpl@1038fbf5
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@6ed4eea4
ServletContext.getAttribute() : org.apache.tomcat.JarScanner = jeus.servlet.jsp.JarScannerImpl@68475c10
ServletContext.getAttribute() : com.sun.faces.errorPagePresent = false
ServletContext.getAttribute() : com.sun.faces.patternCache = {:=:, = , /=/, ,=,}
ServletContext.getAttribute() : context = examples
ServletContext.getAttribute() : csfcff = com.sun.faces.context.flash.ELFlash@4eb43788
ServletContext.getAttribute() : com.sun.faces.application.InjectionApplicationFactory = com.sun.faces.application.ApplicationImpl@3f6ee8a7
ServletContext.getAttribute() : com.sun.faces.InitFacesContext = com.sun.faces.config.InitFacesContext@685e5bec
ServletContext.getAttribute() : org.apache.jasper.runtime.JspApplicationContextImpl = org.apache.jasper.runtime.JspApplicationContextImpl@2136298d
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@73435667
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@3b20b378
ServletContext.getAttribute() : javax.faces.FactoryFinder.FactoryManagerCacheKey = 1658999749359
ServletContext.getAttribute() : org.apache.tomcat.InstanceManager = jeus.servlet.jsp.InstanceManagerImpl@21bb1ecb
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@31513130
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@5f4117e8
ServletContext.getAttribute() : javax.faces.validator.beanValidator.ValidatorFactory = org.hibernate.validator.internal.engine.ValidatorFactoryImpl@1038fbf5
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@6ed4eea4
ServletContext.getAttribute() : org.apache.tomcat.JarScanner = jeus.servlet.jsp.JarScannerImpl@68475c10
ServletContext.getAttribute() : com.sun.faces.errorPagePresent = false
ServletContext.getAttribute() : com.sun.faces.patternCache = {:=:, = , /=/, ,=,}
ServletContext.getAttribute() : context = examples
ServletContext.getAttribute() : csfcff = com.sun.faces.context.flash.ELFlash@4eb43788
ServletContext.getAttribute() : com.sun.faces.application.InjectionApplicationFactory = com.sun.faces.application.ApplicationImpl@3f6ee8a7
ServletContext.getAttribute() : com.sun.faces.InitFacesContext = com.sun.faces.config.InitFacesContext@685e5bec
ServletContext.getAttribute() : org.apache.jasper.runtime.JspApplicationContextImpl = org.apache.jasper.runtime.JspApplicationContextImpl@2136298d
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@73435667
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@3b20b378
ServletContext.getAttribute() : javax.faces.FactoryFinder.FactoryManagerCacheKey = 1658999749359
ServletContext.getAttribute() : org.apache.tomcat.InstanceManager = jeus.servlet.jsp.InstanceManagerImpl@21bb1ecb
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@31513130
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@5f4117e8
examples context attribute : javax.faces.validator.beanValidator.ValidatorFactory = org.hibernate.validator.internal.engine.ValidatorFactoryImpl@1038fbf5
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@6ed4eea4
examples context attribute : org.apache.tomcat.JarScanner = jeus.servlet.jsp.JarScannerImpl@68475c10
examples context attribute : com.sun.faces.errorPagePresent = false
examples context attribute : com.sun.faces.patternCache = {:=:, = , /=/, ,=,}
examples context attribute : context = examples
examples context attribute : csfcff = com.sun.faces.context.flash.ELFlash@4eb43788
examples context attribute : com.sun.faces.application.InjectionApplicationFactory = com.sun.faces.application.ApplicationImpl@3f6ee8a7
examples context attribute : com.sun.faces.InitFacesContext = com.sun.faces.config.InitFacesContext@685e5bec
examples context attribute : org.apache.jasper.runtime.JspApplicationContextImpl = org.apache.jasper.runtime.JspApplicationContextImpl@2136298d
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@73435667
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@3b20b378
examples context attribute : javax.faces.FactoryFinder.FactoryManagerCacheKey = 1658999749359
examples context attribute : org.apache.tomcat.InstanceManager = jeus.servlet.jsp.InstanceManagerImpl@21bb1ecb
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@31513130
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 APIs

ServletContext.getResource() (/hello.html) : file:/C:/TmaxSoft/JEUS7.0/domains/jeus_domain/servers/server1/.workspace/deployed/examples/examples_ear___/examples_war___/hello.html Hello

Hello, World (This is hello.html file)

ServletContext.getResourceAsStream() (/hello.html) Hello

Hello, World (This is hello.html file)