//js获取项目根路径,如: http://localhost:8083/uimcardprj function getRootPath(){ //获取当前网址,如: http://localhost:8083/uimcardprj/share/meun.jsp var curWwwPath=window.document.location.href; //获取主机地址之后的目录,如: uimcardprj/share/meun.jsp var pathName=window.document.
function getRootPath(){ //获取当前网址,如: http://localhost:8088/test/test.jsp var curPath=window.document.location.href; //获取主机地址之后的目录,如: test/test.jsp var pathName=window.document.location.pathname; var pos=curPath.indexOf(pathName); //获取主机地址,如: http://lo
package maptoxml; public class Tfff { public static void main(String[] args) { System.out.println("Java运行时环境版本:"+System.getProperty("java.version")); System.out.println("Java 运行时环境供应商:"+System.getProperty("java.vendor&qu