I’m working on a project and having problem with the Enumeration reference returned by the getAttributeNames() of ServletContext class.
Attribute names returned by the getAttributeNames() are never added by me, then why did it shows them?
These attributes are:
org.apache.tomcat.InstanceManager
org.apache.catalina.jsp_classpath
org.apache.tomcat.util.scan.MergedWebXml
javax.servlet.context.tempdir
org.apache.catalina.resources
org.apache.tomcat.JarScanner
org.apache.jasper.compiler.TldLocationsCache
Can anybody tell me how to skip them so that I could retrieve the attributes stored by me?
They are tomcat attributes used inside their server logic. You dont have to bother about them.