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

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

?? happyaxis.jsp

?? 精通Java核心技術源代碼
?? JSP
字號:
<html><head><title>Axis Happiness Page</title></head><body bgcolor='#ffffff'><%@ page import="java.io.InputStream,                 java.io.IOException,                 javax.xml.parsers.SAXParser,                 javax.xml.parsers.SAXParserFactory"    session="false" %><%!    /*     * Happiness tests for axis. These look at the classpath and warn if things     * are missing. Normally addng this much code in a JSP page is mad     * but here we want to validate JSP compilation too, and have a drop-in     * page for easy re-use     * @author Steve 'configuration problems' Loughran     */    /**     * Get a string providing install information.     * TODO: make this platform aware and give specific hints     */    public String getInstallHints(HttpServletRequest request) {        String hint=            "<B><I>Note:</I></B> On Tomcat 4.x, you may need to put libraries that contain "            +"java.* or javax.* packages into CATALINA_HOME/commons/lib";        return hint;    }    /**     * test for a class existing     * @param classname     * @return class iff present     */    Class classExists(String classname) {        try {            return Class.forName(classname);        } catch (ClassNotFoundException e) {            return null;        }    }    /**     * test for resource on the classpath     * @param resource     * @return true iff present     */    boolean resourceExists(String resource) {        boolean found;        InputStream instream=this.getClass().getResourceAsStream(resource);        found=instream!=null;        if(instream!=null) {            try {                instream.close();            } catch (IOException e) {            }        }        return found;    }    /**     * probe for a class, print an error message is missing     * @param out stream to print stuff     * @param category text like "warning" or "error"     * @param classname class to look for     * @param jarFile where this class comes from     * @param errorText extra error text     * @param homePage where to d/l the library     * @return the number of missing classes     * @throws IOException     */    int probeClass(JspWriter out,                   String category,                   String classname,                   String jarFile,                   String description,                   String errorText,                   String homePage) throws IOException {       Class clazz = classExists(classname);       if(clazz == null)  {            String url="";            if(homePage!=null) {                url="<br>  See <a href="+homePage+">"+homePage+"</a>";            }            out.write("<p>"+category+": could not find class "+classname                    +" from file <b>"+jarFile                    +"</b><br>  "+errorText                    +url                    +"<p>");            return 1;        } else {            String location = getLocation(out, clazz);            if(location == null) {                out.write("Found "+ description + " (" + classname + ")<br>");            }            else {                out.write("Found "+ description + " (" + classname + ") at " + location + "<br>");            }            return 0;        }    }    /**     * get the location of a class     * @param out     * @param clazz     * @return the jar file or path where a class was found     * @throws IOException     */    String getLocation(JspWriter out,                       Class clazz) throws IOException {        try {            java.net.URL url = clazz.getProtectionDomain().getCodeSource().getLocation();            String location = url.toString();            if(location.startsWith("jar")) {                url = ((java.net.JarURLConnection)url.openConnection()).getJarFileURL();                location = url.toString();            }                         if(location.startsWith("file")) {                java.io.File file = new java.io.File(url.getFile());                return file.getAbsolutePath();            } else {                return url.toString();            }        } catch (Throwable t){        }        return null;    }    /**     * a class we need if a class is missing     * @param out stream to print stuff     * @param classname class to look for     * @param jarFile where this class comes from     * @param errorText extra error text     * @param homePage where to d/l the library     * @throws IOException when needed     * @return the number of missing libraries (0 or 1)     */    int needClass(JspWriter out,                   String classname,                   String jarFile,                   String description,                   String errorText,                   String homePage) throws IOException {        return probeClass(out,                "<b>Error</b>",                classname,                jarFile,                description,                errorText,                homePage);    }    /**     * print warning message if a class is missing     * @param out stream to print stuff     * @param classname class to look for     * @param jarFile where this class comes from     * @param errorText extra error text     * @param homePage where to d/l the library     * @throws IOException when needed     * @return the number of missing libraries (0 or 1)     */    int wantClass(JspWriter out,                   String classname,                   String jarFile,                   String description,                   String errorText,                   String homePage) throws IOException {        return probeClass(out,                "<b>Warning</b>",                classname,                jarFile,                description,                errorText,                homePage);    }    /**     * probe for a resource existing,     * @param out     * @param resource     * @param errorText     * @throws Exception     */    int wantResource(JspWriter out,                      String resource,                      String errorText) throws Exception {        if(!resourceExists(resource)) {            out.write("<p><b>Warning</b>: could not find resource "+resource                        +"<br>"                        +errorText);            return 0;        } else {            out.write("found "+resource+"<br>");            return 1;        }    }    /**     *  get servlet version string     *     */    public String getServletVersion() {        ServletContext context=getServletConfig().getServletContext();        int major = context.getMajorVersion();        int minor = context.getMinorVersion();        return Integer.toString(major) + '.' + Integer.toString(minor);    }    /**     *     * @return the classname of the parser     */    public String getParserName() throws Exception {        // Create a JAXP SAXParser        SAXParserFactory saxParserFactory = SAXParserFactory.newInstance();        if(saxParserFactory==null) {            return "no XML parser factory found";        }        SAXParser saxParser = saxParserFactory.newSAXParser();        if(saxParser==null) {            return "Could not create an XML Parser";        }        // check to what is in the classname        String saxParserName = saxParser.getClass().getName();        return saxParserName;    }    %><html><head><title>Axis Happiness Page</title></head><body><h2>Examining webapp configuration</h2><p><h3>Needed Components</h3><%    int needed=0,wanted=0;    /**     * the essentials, without these Axis is not going to work     */    needed=needClass(out, "javax.xml.soap.SOAPMessage",            "saaj.jar",            "SAAJ API",            "Axis will not work",            "http://xml.apache.org/axis/");    needed+=needClass(out, "javax.xml.rpc.Service",            "jaxrpc.jar",            "JAX-RPC API",            "Axis will not work",            "http://xml.apache.org/axis/");    needed+=needClass(out, "org.apache.axis.transport.http.AxisServlet",            "axis.jar",            "Apache-Axis",            "Axis will not work",            "http://xml.apache.org/axis/");    needed+=needClass(out, "org.apache.commons.discovery.Resource",            "commons-discovery.jar",            "Jakarta-Commons Discovery",            "Axis will not work",            "http://jakarta.apache.org/commons/discovery.html");    needed+=needClass(out, "org.apache.commons.logging.Log",            "commons-logging.jar",            "Jakarta-Commons Logging",            "Axis will not work",            "http://jakarta.apache.org/commons/logging.html");    //should we search for a javax.wsdl file here, to hint that it needs    //to go into an approved directory? because we dont seem to need to do that.    needed+=needClass(out, "com.ibm.wsdl.factory.WSDLFactoryImpl",            "wsdl4j.jar",            "IBM's WSDL4Java",            "Axis will not work",            null);    needed+=needClass(out, "javax.xml.parsers.SAXParserFactory",            "xerces.jar",            "JAXP implementation",            "Axis will not work",            "http://xml.apache.org/xerces-j/");    needed+=needClass(out,"javax.activation.DataHandler",            "activation.jar",            "Activation API",            "Axis will not work",            "http://java.sun.com/products/javabeans/glasgow/jaf.html");%><h3>Optional Components</h3><%    /*     * now the stuff we can live without     */    wanted+=wantClass(out,"javax.mail.internet.MimeMessage",            "mail.jar",            "Mail API",            "Attachments will not work",            "http://java.sun.com/products/javamail/");    wanted+=wantClass(out,"org.apache.xml.security.Init",            "xmlsec.jar",            "XML Security API",            "XML Security is not supported",            "http://xml.apache.org/security/");    /*     * resources on the classpath path     */    /* broken; this is a file, not a resource    wantResource(out,"/server-config.wsdd",            "There is no server configuration file;"            +"run AdminClient to create one");    */    /* add more libraries here */    out.write("<h3>");    //is everythng we need here    if(needed==0) {       //yes, be happy        out.write("<i>The core axis libraries are present. </i>");    } else {        //no, be very unhappy        response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);        out.write("<i>"                +needed                +" core axis librar"                +(needed==1?"y is":"ies are")                +" missing</i>");    }    //now look at wanted stuff    if(wanted>0) {        out.write("<i>"                +wanted                +" optional axis librar"                +(wanted==1?"y is":"ies are")                +" missing</i>");    } else {        out.write("The optional components are present.");    }    out.write("</h3>");    //hint if anything is missing    if(needed>0 || wanted>0 ) {        out.write(getInstallHints(request));    }    %>    <p>    <B><I>Note:</I></B> Even if everything this page probes for is present, there is no guarantee your    web service will work, because there are many configuration options that we do    not check for. These tests are <i>necessary</i> but not <i>sufficient</i>    <hr>    <h2>Examining Application Server</h2>    <%        String servletVersion=getServletVersion();        String xmlParser=getParserName();    %>    <table>        <tr><td>Servlet version</td><td><%= servletVersion %></td></tr>        <tr><td>XML Parser</td><td><%= xmlParser %></td></tr>    </table>    <h2>Examining System Properties</h2><%    /**      * Dump the system properties     */    java.util.Enumeration e=null;    try {        e= System.getProperties().propertyNames();    } catch (SecurityException se) {    }    if(e!=null) {        out.write("<pre>");        for (;e.hasMoreElements();) {            String key = (String) e.nextElement();            out.write(key + "=" + System.getProperty(key)+"\n");        }        out.write("</pre><p>");    } else {        out.write("System properties are not accessible<p>");    }%>    <hr>    Platform: <%= getServletConfig().getServletContext().getServerInfo()  %></body></html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产麻豆91精品| 国产亚洲一二三区| 久久新电视剧免费观看| 国产精品福利一区| 久久不见久久见中文字幕免费| heyzo一本久久综合| 日韩一二在线观看| 亚洲一区二区黄色| 91色婷婷久久久久合中文| 久久久久久影视| 免费成人在线影院| 欧美伊人久久久久久午夜久久久久| 久久夜色精品国产欧美乱极品| 一区二区三区小说| eeuss鲁一区二区三区| 欧美成人高清电影在线| 天天av天天翘天天综合网色鬼国产 | 99精品视频在线播放观看| 欧美一区二区三区四区在线观看| 国产日韩欧美综合在线| 美女www一区二区| 欧美日韩不卡在线| 一区二区三区高清在线| 色综合天天视频在线观看| 国产精品三级av| 大胆亚洲人体视频| 国产欧美一区二区精品仙草咪| 国产伦精品一区二区三区免费迷 | 精品国产乱子伦一区| 亚洲国产综合91精品麻豆| 91黄视频在线观看| 亚洲精品高清视频在线观看| 97精品电影院| 亚洲免费观看高清在线观看| 99re热这里只有精品免费视频| 亚洲同性gay激情无套| 99久久精品国产导航| 国产精品美女一区二区在线观看| 成人福利视频网站| 亚洲视频在线一区| 在线精品视频一区二区三四| 亚洲综合在线第一页| 欧美日韩国产高清一区| 喷水一区二区三区| 精品国产3级a| 成人av先锋影音| 夜夜嗨av一区二区三区四季av| 欧美亚洲动漫精品| 美女一区二区视频| 国产精品欧美一级免费| 一本大道综合伊人精品热热| 亚洲国产视频a| 精品国精品自拍自在线| 国产精品一区二区三区网站| 国产精品麻豆一区二区| 91黄视频在线| 韩国v欧美v亚洲v日本v| 中文一区二区在线观看 | 国产精品一区二区在线看| 亚洲色图在线播放| 欧美精品v国产精品v日韩精品| 韩国v欧美v日本v亚洲v| 中文乱码免费一区二区| 欧美伊人精品成人久久综合97| 美女网站视频久久| 亚洲男人都懂的| 日韩一二三区视频| 色综合中文字幕国产 | 国产乱码字幕精品高清av| 国产精品狼人久久影院观看方式| 欧美艳星brazzers| 国产精品影视网| 三级欧美在线一区| 国产丝袜美腿一区二区三区| 欧美午夜理伦三级在线观看| 国产精品一区二区在线观看网站| 亚洲自拍偷拍综合| 国产亚洲美州欧州综合国| 欧日韩精品视频| 成人午夜av电影| 免费看欧美女人艹b| 亚洲丝袜美腿综合| 精品粉嫩超白一线天av| 欧美日韩和欧美的一区二区| 粉嫩蜜臀av国产精品网站| 丝袜诱惑制服诱惑色一区在线观看 | 在线免费观看日本一区| 青青青爽久久午夜综合久久午夜| 亚洲日本va在线观看| 欧美成人三级在线| 欧美精品日韩综合在线| 91蝌蚪porny成人天涯| 国产麻豆9l精品三级站| 日本在线不卡视频| 亚洲成人第一页| 亚洲综合在线视频| 五月婷婷色综合| 一区二区视频在线看| 国产精品萝li| 国产亚洲精品7777| 久久综合精品国产一区二区三区| 6080国产精品一区二区| 欧美性猛片aaaaaaa做受| 91无套直看片红桃| av中文一区二区三区| 成人免费视频视频| 成人18精品视频| 波多野结衣精品在线| 高清国产一区二区三区| 国产老肥熟一区二区三区| 狠狠狠色丁香婷婷综合久久五月| 免费人成精品欧美精品| 男男视频亚洲欧美| 久久激情五月激情| 黑人巨大精品欧美一区| 国产一区二区三区久久久| 国内精品国产三级国产a久久| 麻豆精品在线观看| 久久爱www久久做| 久草在线在线精品观看| 国产综合色视频| 国产乱码精品一品二品| 成人小视频免费在线观看| 成人高清视频免费观看| 色综合天天性综合| 91国产成人在线| 欧美日韩成人一区二区| 日韩天堂在线观看| 久久久精品欧美丰满| 国产精品久久看| 亚洲一线二线三线久久久| 亚洲大尺度视频在线观看| 蜜桃视频一区二区| 成人一区二区视频| 91国偷自产一区二区开放时间| 欧美日韩的一区二区| 在线不卡免费av| 精品成人免费观看| 国产精品电影一区二区三区| 一级做a爱片久久| 天堂在线一区二区| 国产aⅴ精品一区二区三区色成熟| 国产在线不卡一卡二卡三卡四卡| 成人app网站| 欧美精品丝袜中出| 国产欧美日本一区二区三区| 夜夜亚洲天天久久| 激情综合一区二区三区| 91天堂素人约啪| 精品久久一区二区| ...av二区三区久久精品| 偷拍一区二区三区| 高清国产一区二区| 欧美精品xxxxbbbb| 国产精品国产自产拍高清av| 天天免费综合色| 成人av一区二区三区| 91精品久久久久久久久99蜜臂| 久久婷婷久久一区二区三区| 亚洲最大成人综合| 国产成人在线网站| 欧美人体做爰大胆视频| 国产精品久久久久影视| 日韩电影在线免费观看| www.亚洲激情.com| 欧美成人三级电影在线| 亚洲国产精品久久不卡毛片| 国产激情一区二区三区| 欧美日韩精品一区视频| 中国色在线观看另类| 久久99精品国产| 欧美久久久久中文字幕| 中文字幕一区在线| 精品无码三级在线观看视频| 欧美在线观看视频在线| 国产精品国产三级国产aⅴ无密码| 蜜桃视频在线观看一区| 欧美日韩高清一区二区不卡| 国产精品福利影院| 国产一区91精品张津瑜| 欧美一区二区三区喷汁尤物| 一区二区高清在线| 不卡电影一区二区三区| 国产无一区二区| 国产精品一卡二| 亚洲精品一区二区三区福利| 午夜伊人狠狠久久| 欧美三级电影在线观看| 亚洲色图制服丝袜| 成人黄色777网| 国产精品久久久久aaaa樱花| 国产成人日日夜夜| 国产亚洲欧美在线| 国产91富婆露脸刺激对白| 精品国产99国产精品| 黄色资源网久久资源365| 精品久久一区二区| 国产一区美女在线| 欧美激情一区二区三区四区 | 久久久久久亚洲综合|