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@b397ff8
ServletContext.getAttribute() : javax.faces.validator.beanValidator.ValidatorFactory = org.hibernate.validator.internal.engine.ValidatorFactoryImpl@5fe80ef
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@1c11488
ServletContext.getAttribute() : org.apache.tomcat.JarScanner = jeus.servlet.jsp.JarScannerImpl@44c38ad4
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@4c5eb0b
ServletContext.getAttribute() : com.sun.faces.application.InjectionApplicationFactory = com.sun.faces.application.ApplicationImpl@754dea84
ServletContext.getAttribute() : com.sun.faces.InitFacesContext = com.sun.faces.config.InitFacesContext@7ca1d5f1
ServletContext.getAttribute() : org.apache.jasper.runtime.JspApplicationContextImpl = org.apache.jasper.runtime.JspApplicationContextImpl@24ec759b
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@f5a5fbe
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@15598d1b
ServletContext.getAttribute() : javax.faces.FactoryFinder.FactoryManagerCacheKey = 1737623228448
ServletContext.getAttribute() : org.apache.tomcat.InstanceManager = jeus.servlet.jsp.InstanceManagerImpl@67a5dc1c
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@20a22dde
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@b397ff8
ServletContext.getAttribute() : javax.faces.validator.beanValidator.ValidatorFactory = org.hibernate.validator.internal.engine.ValidatorFactoryImpl@5fe80ef
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@1c11488
ServletContext.getAttribute() : org.apache.tomcat.JarScanner = jeus.servlet.jsp.JarScannerImpl@44c38ad4
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@4c5eb0b
ServletContext.getAttribute() : com.sun.faces.application.InjectionApplicationFactory = com.sun.faces.application.ApplicationImpl@754dea84
ServletContext.getAttribute() : com.sun.faces.InitFacesContext = com.sun.faces.config.InitFacesContext@7ca1d5f1
ServletContext.getAttribute() : org.apache.jasper.runtime.JspApplicationContextImpl = org.apache.jasper.runtime.JspApplicationContextImpl@24ec759b
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@f5a5fbe
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@15598d1b
ServletContext.getAttribute() : javax.faces.FactoryFinder.FactoryManagerCacheKey = 1737623228448
ServletContext.getAttribute() : org.apache.tomcat.InstanceManager = jeus.servlet.jsp.InstanceManagerImpl@67a5dc1c
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@20a22dde
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@b397ff8
examples context attribute : javax.faces.validator.beanValidator.ValidatorFactory = org.hibernate.validator.internal.engine.ValidatorFactoryImpl@5fe80ef
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@1c11488
examples context attribute : org.apache.tomcat.JarScanner = jeus.servlet.jsp.JarScannerImpl@44c38ad4
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@4c5eb0b
examples context attribute : com.sun.faces.application.InjectionApplicationFactory = com.sun.faces.application.ApplicationImpl@754dea84
examples context attribute : com.sun.faces.InitFacesContext = com.sun.faces.config.InitFacesContext@7ca1d5f1
examples context attribute : org.apache.jasper.runtime.JspApplicationContextImpl = org.apache.jasper.runtime.JspApplicationContextImpl@24ec759b
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@f5a5fbe
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@15598d1b
examples context attribute : javax.faces.FactoryFinder.FactoryManagerCacheKey = 1737623228448
examples context attribute : org.apache.tomcat.InstanceManager = jeus.servlet.jsp.InstanceManagerImpl@67a5dc1c
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@20a22dde
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)