亚洲欧美第一页_禁久久精品乱码_粉嫩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(getServletConfig().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><%= getServletConfig().getServletContext().getServerInfo() %></td>
    <td><%= getServletConfig().getServletContext().getMajorVersion() %></td>
    <td><%= getServletConfig().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=getServletConfig().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一区二区三区免费野_久草精品视频
亚洲国产成人在线| 国产精品国产三级国产a| 日本韩国欧美一区二区三区| 白白色亚洲国产精品| 成人国产精品免费观看动漫| 不卡一区二区中文字幕| 91一区二区在线| 欧美综合一区二区| 欧美猛男男办公室激情| 欧美大黄免费观看| 精品国产一区二区三区忘忧草| 精品欧美一区二区三区精品久久 | 国产精品久久久久aaaa| 国产亚洲成年网址在线观看| 日本一区二区在线不卡| 国产精品美女久久久久久2018 | 在线亚洲人成电影网站色www| 色偷偷成人一区二区三区91| 欧美精品一二三区| 久久久久九九视频| 亚洲欧美激情小说另类| 午夜视黄欧洲亚洲| 国产精品一区二区不卡| 91丨porny丨首页| 在线播放视频一区| 久久嫩草精品久久久精品| 亚洲欧洲日韩av| 日本美女一区二区| 成人一道本在线| 欧美日韩视频专区在线播放| 精品国产乱码久久久久久久久| 国产精品色婷婷| 亚洲成人免费影院| 国产成人精品免费在线| 欧美体内she精视频| 国产婷婷一区二区| 一个色在线综合| 国产**成人网毛片九色 | 国产精品一二三区| 色综合天天综合网天天看片| 欧美成人午夜电影| 一区二区三区在线免费视频 | 亚洲一区精品在线| 成人综合在线观看| 日韩一区二区三区免费看| 亚洲欧美激情小说另类| 国产成人精品免费网站| 在线电影欧美成精品| 国产精品嫩草影院av蜜臀| 男女性色大片免费观看一区二区 | 裸体一区二区三区| 欧美性一级生活| **性色生活片久久毛片| 国产在线不卡一卡二卡三卡四卡| 欧美体内she精高潮| 亚洲天堂av一区| 成人手机在线视频| 久久一夜天堂av一区二区三区| 亚洲mv在线观看| 色妹子一区二区| 亚洲日本成人在线观看| 国产凹凸在线观看一区二区| 日韩欧美在线网站| 青青国产91久久久久久| 在线观看91精品国产麻豆| 亚洲一级二级在线| 欧美无砖专区一中文字| 亚洲一级二级三级| 在线精品亚洲一区二区不卡| 亚洲欧美区自拍先锋| 91免费版pro下载短视频| 国产精品美女久久久久aⅴ| 国产69精品久久777的优势| 久久久久国产成人精品亚洲午夜| 国产一区二区三区黄视频 | 五月婷婷综合网| 7777女厕盗摄久久久| 午夜精品久久久久久久99樱桃| 欧美三级午夜理伦三级中视频| 一卡二卡三卡日韩欧美| 欧美日韩电影一区| 蜜臀91精品一区二区三区| 精品久久久久久综合日本欧美| 免费看欧美女人艹b| 26uuu精品一区二区| 国产一区二区三区日韩| 欧美国产欧美综合| 在线观看视频一区二区欧美日韩| 亚洲国产乱码最新视频| 91精品在线一区二区| 蜜桃视频在线观看一区| 26uuu色噜噜精品一区| 成a人片亚洲日本久久| 亚洲综合一区二区精品导航| 在线不卡免费av| 国产精品资源站在线| 最新欧美精品一区二区三区| 欧美喷潮久久久xxxxx| 国内外成人在线视频| 国产精品高清亚洲| 欧美久久久久中文字幕| 国产精品一色哟哟哟| 亚洲精品视频一区二区| 91精品午夜视频| jvid福利写真一区二区三区| 五月天亚洲婷婷| 中文在线免费一区三区高中清不卡| 99视频精品全部免费在线| 视频一区中文字幕国产| 国产精品美女视频| 欧美一区二区三区在线| eeuss影院一区二区三区| 三级一区在线视频先锋| 中文字幕一区二区在线播放| 欧美一区二区性放荡片| 色哟哟欧美精品| 国产米奇在线777精品观看| 亚洲一区免费视频| 国产精品久久网站| 日韩免费看的电影| 欧美三级韩国三级日本三斤| 国产成人a级片| 美女视频网站黄色亚洲| 亚洲精品日韩一| 国产精品久久久久久久午夜片| 91麻豆精品国产自产在线观看一区| proumb性欧美在线观看| 国产精品正在播放| 久久电影国产免费久久电影| 亚洲电影一级片| 一区二区三区日本| 中文字幕亚洲一区二区va在线| 欧美成人午夜电影| 欧美群妇大交群中文字幕| 色婷婷国产精品| 91在线免费看| 成人网男人的天堂| 粉嫩av亚洲一区二区图片| 久久精品国产精品亚洲红杏| 视频一区二区中文字幕| 亚洲国产va精品久久久不卡综合| 亚洲人成网站影音先锋播放| 国产精品系列在线| 欧美激情资源网| 国产精品久线在线观看| 中文一区在线播放| 中文字幕在线不卡一区| 国产精品久久久久国产精品日日| 国产日韩欧美综合在线| 国产调教视频一区| 国产日韩精品一区| 国产精品电影一区二区三区| 欧美国产乱子伦| 中文字幕一区二区三区色视频| 国产精品视频一区二区三区不卡| 中文字幕av一区二区三区免费看 | 免费欧美在线视频| 婷婷综合另类小说色区| 日本成人在线网站| 激情综合五月天| 国产成人在线视频播放| 高清成人免费视频| 色诱视频网站一区| 精品视频在线免费看| 在线播放视频一区| 久久这里只精品最新地址| 日本一区二区三区在线观看| 成人欧美一区二区三区黑人麻豆| 亚洲乱码中文字幕综合| 亚洲国产cao| 国产一区二区三区在线观看免费| 成人网男人的天堂| 欧美三级乱人伦电影| 精品国产成人系列| 亚洲欧洲日韩一区二区三区| 亚洲成人av一区二区| 国产最新精品精品你懂的| 高清国产午夜精品久久久久久| 色狠狠桃花综合| 日韩欧美一级精品久久| 国产精品乱码人人做人人爱 | 亚洲婷婷国产精品电影人久久| 亚洲在线免费播放| 麻豆精品久久久| 一本久久综合亚洲鲁鲁五月天| 欧美老肥妇做.爰bbww| 国产亲近乱来精品视频| 亚洲aaa精品| 成人黄动漫网站免费app| 欧美日韩视频在线一区二区| 国产日韩欧美综合在线| 亚洲高清免费在线| 懂色av中文一区二区三区| 制服视频三区第一页精品| 中文字幕一区视频| 国产精品影视网| 日韩欧美亚洲另类制服综合在线| 国产精品久久久久久久久免费樱桃| 婷婷一区二区三区| 一本久久a久久免费精品不卡|