ContextPath
Context [' K?ntekst]
Do not know the truth, only the edge of this mountain.
Relative path
Realpath
Absolute path
Servletpath
Is the Url-pattern in servlet-mapping.
< servlet-mapping > < Servlet-name > Testservlet</servlet-name> <Url-pattern >/testservlet</url-pattern> </ Servlet-mapping>
ContextPath:/zztestservletpath:/testservletrealpath:f:\e\workspaceflex\.metadata\.plugins\ Org.eclipse.wst.server.core\tmp0\wtpwebapps\zztest\
Java.runtime.name: Java (TM) SE Runtime EnvironmentSun.boot.library.path: E:\Oracle\jdk1.6.0_24_x64\jre\binjava.vm.version: 20.45-B01Shared.loader:Java.vm.vendor: Sun Microsystems Inc.Java.vendor.url: http://java.sun.com/Path.separator: ;tomcat.util.buf.StringCache.byte.enabled: TrueJava.vm.name: Java HotSpot (TM) Client VMfile.encoding.pkg: Sun.ioSun.java.launcher: Sun_standardUser.country: USSun.os.patch.level: Service Pack 1Java.vm.specification.name: Java Virtual Machine SpecificationUser.dir: F:\e\eclipse\sts-3.8.1.RELEASEjava.runtime.version: 1.6.0_45-b06Org.apache.catalina.startup.TldConfig.jarsToSkip: Tomcat7-websocket.jarjava.awt.graphicsenv: sun.awt.Win32GraphicsEnvironmentJava.endorsed.dirs: F:\e\tomcat\apache-tomcat-7.0.70\endorsedOs.arch: x86Java.io.tmpdir: C:\Users\wl\AppData\Local\TempLine.separator:Java.vm.specification.vendor: Sun Microsystems Inc.java.naming.factory.url.pkgs: org.apache.naminguser.variant:Os.name: Windows 7sun.jnu.encoding: Cp1252Tomcat.util.scan.DefaultJarScanner.jarsToSkip: Bootstrap.jar,commons-daemon.jar,tomcat-juli.jar,annotations-api.jar,el-api.jar,jsp-api.jar,servlet-api.jar, Websocket-api.jar,catalina.jar,catalina-ant.jar,catalina-ha.jar,catalina-tribes.jar,jasper.jar,jasper-el.jar, Ecj-*.jar,tomcat-api.jar,tomcat-util.jar,tomcat-coyote.jar,tomcat-dbcp.jar,tomcat-jni.jar,tomcat-spdy.jar, Tomcat-i18n-en.jar,tomcat-i18n-es.jar,tomcat-i18n-fr.jar,tomcat-i18n-ja.jar,tomcat-juli-adapters.jar, Catalina-jmx-remote.jar,catalina-ws.jar,tomcat-jdbc.jar,tools.jar,commons-beanutils*.jar,commons-codec*.jar, commons-collections*.jar,commons-dbcp*.jar,commons-digester*.jar,commons-fileupload*.jar,commons-httpclient*. Jar,commons-io*.jar,commons-lang*.jar,commons-logging*.jar,commons-math*.jar,commons-pool*.jar,jstl.jar, Taglibs-standard-spec-*.jar,geronimo-spec-jaxrpc*.jar,wsdl4j*.jar,ant.jar,ant-junit*.jar,aspectj*.jar,jmx.jar, H2*.jar,hibernate*.jar,httpclient*.jar,jmx-tools.jar,jta*.jar,log4j.jar,log4j-1*.jar,mail*.jar,slf4j*.jar, xercesimpl.jar,xmlparserapis.jar,xml-Apis.jar,junit.jar,junit-*.jar,hamcrest*.jar,org.hamcrest*.jar,ant-launcher.jar,cobertura-*.jar,asm-*.jar, Dom4j-*.jar,icu4j-*.jar,jaxen-*.jar,jdom-*.jar,jetty-*.jar,oro-*.jar,servlet-api-*.jar,tagsoup-*.jar, Xmlparserapis-*.jar,xom-*.jarJava.library.path: E:\Oracle\jdk1.6.0_24_x64\bin; C:\Windows\Sun\Java\bin; C:\Windows\system32; C:\Windows; E:\Oracle\jdk1.6.0_24_x64\jre\bin; f:/e/java/jdk1.8.0_101/bin/. /jre/bin/server; f:/e/java/jdk1.8.0_101/bin/. /jre/bin; f:/e/java/jdk1.8.0_101/bin/. /JRE/LIB/AMD64; C:\Windows\system32; C:\Windows; C:\Windows\System32\Wbem; C:\Windows\System32\WindowsPowerShell\v1.0\; C:\Program Files\microsoft\web Platform installer\; C:\Program Files (x86) \microsoft Asp.net\asp.net Web Pages\v1.0\; F:\e\java\jdk1.8.0_101\bin; C:\Program Files\tortoisesvn\bin; E:\apache-ant-1.9.6\bin; C:\Program Files\git\cmd; F:\e\maven\apache-maven-3.2.5\bin; F:\e\eclipse\sts-3.8.1.RELEASE;;.Java.specification.name: Java Platform API Specificationjava.class.version: 50.0Sun.management.compiler: HotSpot Client Compileros.version: 6.1Org.apache.catalina.startup.ContextConfig.jarsToSkip:User.home: C:\USERS\WLcatalina.usenaming: TrueUser.timezone: Asia/shanghaiJava.awt.printerjob: Sun.awt.windows.WPrinterJobfile.encoding: Cp1252java.specification.version: 1.6Catalina.home: F:\e\tomcat\apache-tomcat-7.0.70Java.class.path: F:\e\tomcat\apache-tomcat-7.0.70\bin\bootstrap.jar; F:\e\tomcat\apache-tomcat-7.0.70\bin\tomcat-juli.jar; E:\Oracle\jdk1.6.0_24_x64\lib\tools.jarUser.Name: WLjava.naming.factory.initial: Org.apache.naming.java.javaURLContextFactorypackage.definition: Sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.jasper.,org.apache.naming.,org.apache.tomcat.java.vm.specification.version: 1.0Sun.java.command: Org.apache.catalina.startup.Bootstrap StartJava.home: E:\Oracle\jdk1.6.0_24_x64\jreSun.arch.data.model: 32User.language: EnJava.specification.vendor: Sun Microsystems Inc.Awt.toolkit: Sun.awt.windows.WToolkitJava.vm.info: Mixed Modejava.version: 1.6.0_45Java.ext.dirs: E:\Oracle\jdk1.6.0_24_x64\jre\lib\ext; C:\Windows\Sun\Java\lib\extSun.boot.class.path: E:\Oracle\jdk1.6.0_24_x64\jre\lib\resources.jar; E:\Oracle\jdk1.6.0_24_x64\jre\lib\rt.jar; E:\Oracle\jdk1.6.0_24_x64\jre\lib\sunrsasign.jar; E:\Oracle\jdk1.6.0_24_x64\jre\lib\jsse.jar; E:\Oracle\jdk1.6.0_24_x64\jre\lib\jce.jar; E:\Oracle\jdk1.6.0_24_x64\jre\lib\charsets.jar; E:\Oracle\jdk1.6.0_24_x64\jre\lib\modules\jdk.boot.jar; E:\Oracle\jdk1.6.0_24_x64\jre\classesServer.loader:Java.vendor: Sun Microsystems Inc.Catalina.base: F:\e\workspaceflex\.metadata\.plugins\org.eclipse.wst.server.core\tmp0File.separator:Java.vendor.url.bug: http://java.sun.com/cgi-bin/bugreport.cgiCommon.loader: ${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jarsun.io.unicode.encoding: UnicodelittleSun.cpu.endian: LittleWtp.deploy: F:\e\workspaceflex\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebappspackage.access: Sun.,org.apache.catalina.,org.apache.coyote.,org.apache.jasper.,org.apache.naming.resources., Org.apache.tomcat.Sun.desktop: Windowssun.cpu.isalist: pentium_pro+mmx Pentium_pro pentium+mmx Pentium i486 i386 i86
Java EE Servlet several path