亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? fingerprint.jsp

?? 精通java核心技術》隨書源代碼
?? JSP
字號:
<%@ page import="java.io.File,                 java.io.IOException,                 java.util.Date"    session="false" %><html><head><title>System Fingerprint</title></head><body bgcolor=#ffffff><%!    /*     * Fingerprint the users system. This is mainly for use in     * diagnosing classpath problems. It is intended to dump out     * a copy of the environment this webapp is running in,     * and additionally attempt to identify versions of each jar     * in the classpath.     *     * @author Brian Ewins     */    private java.util.Properties versionProps=new java.util.Properties();    /**     * Identify the version of a jar file. This uses a properties file     * containing known names and sizes in the format     * 'name(size)=version'. Version strings should be like 'xerces-1.4'     * ie they should include the name of the library.     */    public String getFileVersion(File file) throws IOException {        String key="<td>"+file.getName()+"</td>";        key+= "<td>"+file.length()+"</td>";        Date timestamp=new Date(file.lastModified());        key+= "<td>"+timestamp.toString()+"</td>";        return key;        /* TODO: implement        String value=versionProps.getProperty(key);        if (value==null) {            // make it possible to have jars without version nos            value=versionProps.getProperty(file.getName());        }        if (value==null) {            // fall back on something obvious            value=key;            Date timestamp=new Date(file.lastModified());            value+=" / "+timestamp.toString();        }        return value;        */    }    /**     * Split up a classpath-like variable. Returns a list of files.     * TODO: this can't cope with relative paths. I think theres code in BCEL that     * can be used for this?     */    File[] splitClasspath(String path) throws IOException {        java.util.StringTokenizer st=            new java.util.StringTokenizer(path,                            System.getProperty("path.separator"));        int toks=st.countTokens();        File[] files=new File[toks];        for(int i=0;i<toks;i++) {            files[i]=new File(st.nextToken());        }        return files;    }    /** given a list of files, return a list of jars which actually exist */    File[] scanFiles(File[] files) throws IOException {        File[] jars=new File[files.length];        int found=0;        for (int i=0; i<files.length; i++) {            if (files[i].getName().toLowerCase().endsWith(".jar")                    && files[i].exists()) {                jars[found]=files[i];                found++;            }        }        if (found<files.length) {            File[] temp=new File[found];            System.arraycopy(jars,0,temp,0,found);            jars=temp;        }        return jars;        }    private static final File[] NO_FILES=new File[0];    /** scan a directory for jars */        public File[] scanDir(String dir) throws IOException         {         return scanDir(new File(dir));         }            public File[] scanDir(File dir) throws IOException {        if (!dir.exists() || !dir.isDirectory()) {            return NO_FILES;        }        return scanFiles(dir.listFiles());    }    /** scan a classpath for jars */        public File[] scanClasspath(String path) throws IOException {        if (path==null) {            return NO_FILES;        }        return scanFiles(splitClasspath(path));    }    /**      * scan a 'dirpath' (like the java.ext.dirs system property) for jars      */       public File[] scanDirpath(String path) throws IOException {        if (path==null) {            return NO_FILES;        }        File[] current=new File[0];        File[] dirs=splitClasspath(path);        for(int i=0; i<dirs.length; i++) {            File[] jars=scanDir(dirs[i]);            File[] temp=new File[current.length+jars.length];            System.arraycopy(current,0,temp,0,current.length);            System.arraycopy(jars,0,temp,current.length,jars.length);            current=temp;        }        return scanFiles(current);    }    /** print out the jar versions for a directory */    public void listDirectory(String title, JspWriter out,String dir, String comment) throws IOException {        listVersions(title, out,scanDir(dir), comment);    }    /** print out the jar versions for a directory-like system property */    public void listDirProperty(String title, JspWriter out,String key, String comment) throws IOException {        listVersions(title, out,scanDir(System.getProperty(key)), comment);    }    /** print out the jar versions for a classpath-like system property */    public void listClasspathProperty(String title, JspWriter out,String key, String comment) throws IOException {        listVersions(title, out,scanClasspath(System.getProperty(key)), comment);    }    /** print out the jar versions for a 'java.ext.dirs'-like system property */    public void listDirpathProperty(String title, JspWriter out,String key, String comment) throws IOException {        listVersions(title, out,scanDirpath(System.getProperty(key)), comment);    }    /** print out the jar versions for a context-relative directory */    public void listContextPath(String title, JspWriter out, String path, String comment)  throws IOException {        listVersions(title, out,scanDir(this.getServletContext().getRealPath(path)), comment);    }    /** print out the jar versions for a given list of files */    public void listVersions(String title, JspWriter out,File[] jars, String comment) throws IOException {        out.print("<h2>");        out.print(title);        out.println("</h2>");        out.println("<table>");        for (int i=0; i<jars.length; i++) {            out.println("<tr>"+getFileVersion(jars[i])+"</tr>");        }        out.println("</table>");        if(comment!=null && comment.length()>0) {            out.println("<p>");            out.println(comment);            out.println("<p>");        }    }%><h1>System Fingerprint</h1><h2>JVM and Server Version</h2><table><tr>    <td>Servlet Engine</td>    <td><%= this.getServletContext().getServerInfo() %></td>    <td><%= this.getServletContext().getMajorVersion() %></td>    <td><%= this.getServletContext().getMinorVersion() %></td></tr><tr>    <td>Java VM</td>    <td><%= System.getProperty("java.vm.vendor") %></td>    <td><%= System.getProperty("java.vm.name") %></td>    <td><%= System.getProperty("java.vm.version") %></td></tr><tr>    <td>Java RE</td>    <td><%= System.getProperty("java.vendor") %></td>    <td><%= System.getProperty("java.version") %></td>    <td> </td></tr><tr>    <td>Platform</td>    <td><%= System.getProperty("os.name") %></td>    <td><%= System.getProperty("os.arch") %></td>    <td><%= System.getProperty("os.version") %></td></tr></table><%listClasspathProperty("Boot jars", out,"sun.boot.class.path", "Only valid on a sun jvm");listClasspathProperty("System jars", out,"java.class.path", null);listDirpathProperty("Extra system jars", out,"java.ext.dirs", null);listContextPath("Webapp jars", out, "/WEB-INF/lib", null);// identify the container...String container=this.getServletContext().getServerInfo();if (container.startsWith("Tomcat Web Server/3.2")) {    String home=System.getProperty("tomcat.home");    if(home!=null) {        listDirectory("Tomcat 3.2 Common Jars", out,                      home+File.separator                      +"lib",                      null);    }} else if (container.startsWith("Tomcat Web Server/3.3")) {    String home=System.getProperty("tomcat.home");    if(home!=null) {        listDirectory("Tomcat 3.3 Container Jars", out,                      home+File.separator                      +"lib"+File.separator                      +"container",                      null);        listDirectory("Tomcat 3.3 Common Jars", out,                      home+File.separator                      +"lib"+File.separator                      +"common",                      null);    }} else if (container.startsWith("Apache Tomcat/4.0")) {    //handle catalina common dir    String home=System.getProperty("catalina.home");    if(home!=null) {        listDirectory("Tomcat 4.0 Common Jars", out,                      home+File.separator                      +"common"+File.separator                      +"lib",                      null);    }} else if (container.startsWith("Apache Tomcat/4.1")) {    //handle catalina common dir    String home=System.getProperty("catalina.home");    if(home!=null) {        listDirectory("Tomcat 4.1 Common Jars", out,                      home+File.separator                      +"shared"+File.separator                      +"lib",                      null);    }} else if (System.getProperty("resin.home")!=null) {    String home=System.getProperty("resin.home");    if(home!=null) {        listDirectory("Resin Common Jars", out,                      home+File.separator                      +"lib",                      null);    }    } else if (System.getProperty("weblogic.httpd.servlet.classpath")!=null) {    listClasspathProperty("Weblogic Servlet Jars", out,                  "weblogic.httpd.servlet.classpath",                  null);} else {    //TODO: identify more servlet engine classpaths.}%></body></html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美国产禁国产网站cc| 1024成人网色www| av高清久久久| 毛片av一区二区| 一区二区三区四区国产精品| 久久综合色综合88| 精品视频1区2区3区| 不卡的av在线| 国产河南妇女毛片精品久久久| 亚洲欧美日韩一区二区| 精品国产乱码久久久久久老虎| 色av一区二区| 国产成人精品免费在线| 日本亚洲一区二区| 亚洲一区二区成人在线观看| 久久精品无码一区二区三区| 欧美一区二区三区性视频| 在线观看国产一区二区| 不卡av在线免费观看| 国模少妇一区二区三区| 亚洲成人激情自拍| 亚洲美女免费在线| 中文字幕一区二区三区色视频| 亚洲精品在线三区| 日韩欧美一级片| 欧美肥妇bbw| 欧美日韩另类国产亚洲欧美一级| 99re成人精品视频| 成人av免费观看| 成人高清在线视频| 成人午夜免费视频| 成人黄色小视频| 国产成人在线影院| 国产成人综合在线播放| 国产精一区二区三区| 狠狠狠色丁香婷婷综合激情| 免费观看成人av| 日本色综合中文字幕| 午夜视频久久久久久| 亚洲国产aⅴ成人精品无吗| 亚洲一区成人在线| 亚洲高清中文字幕| 日韩高清在线不卡| 精品一区二区三区在线观看| 美女任你摸久久| 国产一区欧美二区| 国产一区二区三区四区五区入口 | 黄色日韩网站视频| 国产真实乱偷精品视频免| 免费亚洲电影在线| 久久精品国产**网站演员| 久久99精品久久久久久| 国产精品18久久久久| 丁香婷婷综合网| 99久久精品免费| 欧美三级资源在线| 555夜色666亚洲国产免| 日韩欧美亚洲一区二区| 精品国产91洋老外米糕| 国产三级精品三级| 中文字幕佐山爱一区二区免费| 亚洲免费在线观看视频| 亚洲国产sm捆绑调教视频| 美国一区二区三区在线播放| 国产乱子轮精品视频| 91免费观看国产| 欧美一区二区三区免费在线看| 久久综合九色综合欧美98| 久久免费视频色| 国产精品久久影院| 一区二区三区欧美久久| 蜜臀国产一区二区三区在线播放| 国产在线播放一区三区四| 99久久精品国产导航| 欧美日韩一区中文字幕| 欧美精品一区二区三区蜜臀 | 亚洲一区二区三区四区五区黄 | 91在线免费播放| 欧美一级视频精品观看| 国产精品久久网站| 人人精品人人爱| av在线一区二区| 欧美精品亚洲二区| 久久精品欧美一区二区三区不卡| 亚洲欧美视频在线观看视频| 精品一区二区三区不卡 | 亚洲v日本v欧美v久久精品| 国产综合久久久久影院| 91网页版在线| 久久久国产精华| 无码av中文一区二区三区桃花岛| 岛国精品在线观看| 日韩午夜三级在线| 亚洲精品国久久99热| 精品无人码麻豆乱码1区2区 | 欧美在线啊v一区| 久久综合色鬼综合色| 亚洲成人av一区二区三区| 国产成人午夜电影网| 69堂成人精品免费视频| 亚洲欧美日本在线| 国产精品乡下勾搭老头1| 欧美日韩第一区日日骚| 国产精品乱码一区二三区小蝌蚪| 日韩精品1区2区3区| av资源网一区| 国产日韩欧美不卡在线| 日本中文字幕一区二区视频| 91麻豆高清视频| 国产欧美中文在线| 国内精品不卡在线| 在线不卡中文字幕| 洋洋av久久久久久久一区| 成人av午夜电影| 国产亚洲欧美日韩俺去了| 久久99精品一区二区三区三区| 欧美日韩国产综合草草| 一区二区三区国产精华| 91蜜桃免费观看视频| 国产精品毛片a∨一区二区三区| 精品一区二区三区在线视频| 日韩欧美综合在线| 亚洲不卡在线观看| 欧美另类变人与禽xxxxx| 亚洲一区免费观看| 欧美中文字幕久久| 亚洲黄一区二区三区| 91麻豆蜜桃一区二区三区| 国产精品国模大尺度视频| 成人午夜视频免费看| 国产精品美女久久久久久久久久久| 国产在线一区二区综合免费视频| 日韩欧美亚洲国产精品字幕久久久| 亚洲成av人在线观看| 欧美日韩视频在线第一区 | 欧美日韩一区在线观看| 一二三四区精品视频| 在线观看免费视频综合| 亚洲aaa精品| 91麻豆精品国产91久久久久 | 日日夜夜精品视频天天综合网| 欧美色视频在线观看| 亚洲高清一区二区三区| 正在播放亚洲一区| 狂野欧美性猛交blacked| 欧美电影免费观看高清完整版在线| 激情综合网av| 久久精品日产第一区二区三区高清版 | 欧美日韩精品一区二区天天拍小说 | 在线观看亚洲一区| 亚洲国产美国国产综合一区二区| 欧美亚洲国产一卡| 日本在线播放一区二区三区| 欧美岛国在线观看| 国产成人av电影| 中文字幕日韩精品一区| 色综合久久综合网欧美综合网| 一区二区三区四区精品在线视频| 欧美三级视频在线| 日韩国产在线一| 久久只精品国产| av电影在线观看不卡| 一二三四社区欧美黄| 日韩欧美一级特黄在线播放| 高清国产一区二区三区| 亚洲精品成a人| 日韩欧美亚洲另类制服综合在线| 国产精品一区免费在线观看| 亚洲日本在线观看| 欧美丰满高潮xxxx喷水动漫| 国产精品久久久久久久久搜平片 | 国产伦精一区二区三区| ●精品国产综合乱码久久久久| 欧美性大战xxxxx久久久| 精品一区二区三区欧美| 综合中文字幕亚洲| 91精品国产综合久久蜜臀| 国产精品亚洲视频| 亚洲不卡一区二区三区| 久久久国产精华| 欧美日韩视频在线观看一区二区三区 | 国产成人综合网| 亚洲第一电影网| 中文字幕乱码亚洲精品一区| 欧美日韩三级一区二区| 成人夜色视频网站在线观看| 亚洲综合自拍偷拍| 国产亚洲精久久久久久| 欧美色图片你懂的| 高清成人免费视频| 美女爽到高潮91| 亚洲一区二区在线观看视频 | 国产欧美日韩三区| 欧美精品一级二级三级| 成人激情视频网站| 国内精品国产三级国产a久久| 亚洲午夜久久久久久久久久久| 久久久久久久久久久黄色| 欧美日韩日日摸| www.成人网.com|