JSP PIN Code

Source: Internet
Author: User
Tags cos

JSP PIN Code

<%@ page contenttype= "text/html; charset=gb2312 "%>
<% @page import= "java.util.*"%>
<% @page import= "Java.awt.image.BufferedImage"%>
<% @page import= "java.awt.*"%>
<% @page import= "java.io.*"%>
<%
/*
Program Author: Couvol
Contact qq:263645928
*/
Long starttime = System.currenttimemillis ();
Long Startmem = Runtime.getruntime (). Freememory ();
%>
<%!
public class Libinfo {

Boolean Supportjndi = false;
Boolean supportjavaxsql = false;
Boolean SUPPORTJAF = false;
Boolean supportmail = false;

Boolean supportbeanutils = false;
Boolean supportcommonlogging = false;
Boolean supportcommoncodec = false;
Boolean supportcommoncollection = false;
Boolean supportcommondigester = false;
Boolean Supportcommonlang = false;
Boolean supportjakartaregexp = false;
Boolean supportlucene = false;

Boolean supportdom4j = false;

Boolean supportmmmysqldriver = false;
Boolean supportcommysqldriver = false;

Boolean supportimageprocessing = false;

Public Libinfo () {
try {
Class.forName ("Javax.naming.Name");
Supportjndi = true;
catch (ClassNotFoundException ex) {}

try {
Class.forName ("Javax.sql.DataSource");
Supportjavaxsql = true;
catch (ClassNotFoundException ex) {}

try {
Class.forName ("Javax.activation.DataSource");
Supportjaf = true;
catch (ClassNotFoundException ex) {}

try {
Class.forName ("Javax.mail.Message");
Supportmail = true;
catch (ClassNotFoundException ex) {}

try {
Class.forName ("Org.apache.commons.beanutils.MethodUtils");
Supportbeanutils = true;
catch (ClassNotFoundException ex) {}

try {
Class.forName ("Org.apache.commons.logging.LogFactory");
Supportcommonlogging = true;
catch (ClassNotFoundException ex) {}

try {
Class.forName ("Org.apache.commons.codec.Decoder");
Supportcommoncodec = true;
catch (ClassNotFoundException ex) {}

try {
Class.forName ("Org.apache.commons.collections.ArrayStack");
Supportcommoncollection = true;
catch (ClassNotFoundException ex) {}

try {
Class.forName ("Org.apache.commons.digester.Digester");
Supportcommondigester = true;
catch (ClassNotFoundException ex) {}

try {
Class.forName ("Org.apache.commons.lang.SystemUtils");
Supportcommonlang = true;
catch (ClassNotFoundException ex) {}

try {
Class.forName ("Org.apache.regexp.RE");
Supportjakartaregexp = true;
catch (ClassNotFoundException ex) {}

try {
Class.forName ("Org.apache.lucene.index.IndexWriter");
Supportlucene = true;
catch (ClassNotFoundException ex) {}

try {
Class.forName ("Org.dom4j.Document");
SUPPORTDOM4J = true;
catch (ClassNotFoundException ex) {}

try {
Class.forName ("Org.gjt.mm.mysql.Driver");
Supportmmmysqldriver = true;
catch (ClassNotFoundException ex) {}

try {
Class.forName ("Com.mysql.jdbc.Driver");
Supportcommysqldriver = true;
catch (ClassNotFoundException ex) {}

try {
BufferedImage bufferedimage = new BufferedImage (ten, Bufferedimage.type_int_rgb);
Graphics2D g = bufferedimage.creategraphics ();
G.drawline (0, 0, 10, 10);
G.dispose ()/free resource

Supportimageprocessing = true;
catch (Throwable ex) {}

}

public Boolean Issupportjaf () {
return SUPPORTJAF;
}

public Boolean issupportjavaxsql () {
return supportjavaxsql;
}

public Boolean Issupportjndi () {
return Supportjndi;
}

public Boolean issupportmail () {
return supportmail;
}

public Boolean issupportbeanutils () {
return supportbeanutils;
}

public Boolean issupportcommonlogging () {
return supportcommonlogging;
}

public Boolean Issupportcommoncodec () {
return supportcommoncodec;
}

public Boolean issupportcommoncollection () {
return supportcommoncollection;
}

public Boolean issupportcommondigester () {
return supportcommondigester;
}

public Boolean Issupportcommonlang () {
return Supportcommonlang;
}

public Boolean issupportjakartaregexp () {
return supportjakartaregexp;
}

public Boolean issupportlucene () {
return supportlucene;
}

public Boolean issupportdom4j () {
return supportdom4j;
}

public Boolean issupportmmmysqldriver () {
return supportmmmysqldriver;
}

public Boolean issupportcommysqldriver () {
return supportcommysqldriver;
}

public Boolean issupportimageprocessing () {
return supportimageprocessing;
}

}
%>
<! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en" "HTTP://WWW.W3.ORG/TR/HTML4/LOOSE.DTD" >
<title> Amoy JSP Probes </title>
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<style type= "Text/css" >
<!--
. style1 {color: #FFFFFF; font-size:14px; font-weight:bold;}
. line20{line-height:20px;}
. table-header-text {color: #FFFFFF;
Font-weight:normal;
margin:3px 5px 1px 15px;
Font-family:arial, Verdana,helvetica, Sans-serif;
}
Td{white-space:normal; word-break:break-all;}
-->
</style>

&lt;body&gt;


&lt;table width= "100%" height= "border=" 0 "cellpadding=" 0 "cellspacing=" 0 "bgcolor=" #7171A5 "&gt;


&lt;tr&gt;


&lt;td&gt;&lt;div align= "center" &gt;&lt;span class= "Style1" &gt; Amoy jsp probes &lt;/span&gt;&lt;/div&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;/table&gt;


&lt;h3&gt;request variables:&lt;/h3&gt;


&lt;table width= "100%" border= "0" cellpadding= "0" cellspacing= "1" bgcolor= "#DEE3ED" class= "Line20" &gt;


&lt;tr&gt;


&LT;TD width= "50%" height= "bgcolor=" #9999CC "&gt;&lt;span class=" Table-header-text "&gt;property &lt;/span&gt; &lt;/td&gt;


&LT;TD width= "50%" height= "bgcolor=" "#9999CC" &gt;&lt;span class= "Table-header-text" &gt;value&lt;/span&gt;&lt;/ Td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getAuthType&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getauthtype ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getCharacterEncoding&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getcharacterencoding ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getContentLength&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getcontentlength ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getContentType&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getcontenttype ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getContextPath&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getcontextpath ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getLocale&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getlocale ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getLocales&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getlocales ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getMethod&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getmethod ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getPathInfo&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getpathinfo ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getPathTranslated&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getpathtranslated ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getProtocol&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getprotocol ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getReader&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getreader ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getRealPath&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getrealpath (".") %&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getRemoteAddr&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getremoteaddr ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getRemoteHost&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getremotehost ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getRemoteUser&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getremoteuser ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getRequestDispatcher&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getrequestdispatcher ("/")%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getRequestURI&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getrequesturi ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getRequestURL&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getrequesturl ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getServerName&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getservername ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getServerPort&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getserverport ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getServletPath&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getservletpath ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;getUserPrincipal&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=request.getuserprincipal ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;/table&gt;


&lt;h3&gt;session variables:&lt;/h3&gt;


&lt;table width= "100%" border= "0" cellpadding= "0" cellspacing= "1" bgcolor= "#DEE3ED" class= "Line20" &gt;


&lt;tr&gt;


&LT;TD width= "50%" height= "bgcolor=" #9999CC "&gt;&lt;span class=" Table-header-text "&gt;property &lt;/span&gt; &lt;/td&gt;


&LT;TD width= "50%" height= "bgcolor=" "#9999CC" &gt;&lt;span class= "Table-header-text" &gt;value&lt;/span&gt;&lt;/ Td&gt;


&lt;/tr&gt;


&lt;%


Enumeration E = Session.getattributenames ();


while (E.hasmoreelements ()) {


String name = (string) e.nextelement ();


String value = (string) session.getattribute (name);


%&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=name%&gt;&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=value%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;%


}


%&gt;


&lt;/table&gt;


&lt;h3&gt;application variables:&lt;/h3&gt;


&lt;table width= "100%" border= "0" cellpadding= "0" cellspacing= "1" bgcolor= "#DEE3ED" class= "Line20" &gt;


&lt;tr&gt;


&LT;TD width= "50%" height= "bgcolor=" #9999CC "&gt;&lt;span class=" Table-header-text "&gt;property &lt;/span&gt; &lt;/td&gt;


&LT;TD width= "50%" height= "bgcolor=" "#9999CC" &gt;&lt;span class= "Table-header-text" &gt;value&lt;/span&gt;&lt;/ Td&gt;


&lt;/tr&gt;


&lt;%


E = Application.getattributenames ();


while (E.hasmoreelements ()) {


String name = (string) e.nextelement ();


%&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=name%&gt;&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=application.getattribute (name)%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;%


}


%&gt;


&lt;/table&gt;

&lt;h3&gt;cookies variables:&lt;/h3&gt;


&lt;table width= "100%" border= "0" cellpadding= "0" cellspacing= "1" bgcolor= "#DEE3ED" class= "Line20" &gt;


&lt;tr&gt;


&LT;TD width= "50%" height= "bgcolor=" #9999CC "&gt;&lt;span class=" Table-header-text "&gt;property &lt;/span&gt; &lt;/td&gt;


&LT;TD width= "50%" height= "bgcolor=" "#9999CC" &gt;&lt;span class= "Table-header-text" &gt;value&lt;/span&gt;&lt;/ Td&gt;


&lt;/tr&gt;


&lt;%


Cookie[] Cos=request.getcookies ();


if (cos!=null) {


for (int i=0;i&lt;cos.length;i++)


{


%&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=cos[i].getname ()%&gt;&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=cos[i].getvalue ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;%


}


}


%&gt;


&lt;/table&gt;

&lt;h3&gt;server variables:&lt;/h3&gt;


&lt;table width= "100%" border= "0" cellpadding= "0" cellspacing= "1" bgcolor= "#DEE3ED" class= "Line20" &gt;


&lt;tr&gt;


&LT;TD width= "50%" height= "bgcolor=" #9999CC "&gt;&lt;span class=" Table-header-text "&gt;property &lt;/span&gt; &lt;/td&gt;


&LT;TD width= "50%" height= "bgcolor=" "#9999CC" &gt;&lt;span class= "Table-header-text" &gt;value&lt;/span&gt;&lt;/ Td&gt;


&lt;/tr&gt;


&lt;%


Properties props=system.getproperties ();


Iterator Iter=props.keyset (). iterator ();


while (Iter.hasnext ())


{


String key= (String) iter.next ();


%&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=key%&gt;&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=props.get (key)%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;%


}


%&gt;


&lt;/table&gt;


&lt;h3&gt;lib info&lt;/h3&gt;


&lt;%


Libinfo lib=new libinfo ();


%&gt;


&lt;table width= "100%" border= "0" cellpadding= "0" cellspacing= "1" bgcolor= "#DEE3ED" &gt;


&lt;tr&gt;


&LT;TD height= "bgcolor=" "#9999CC" &gt;&lt;span class= "Table-header-text" &gt;property &lt;/span&gt;&lt;/td&gt;


&LT;TD bgcolor= "#9999CC" &gt;&lt;span class= "Table-header-text" &gt;Value&lt;/span&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD width= "476" bgcolor= "#FFFFFF" &gt;supportJNDI&lt;/td&gt;


&LT;TD width= "484" bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=lib.issupportjndi ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;supportJavaxSql&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=lib.issupportjavaxsql ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;supportJAF&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=lib.issupportjaf ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;supportMail&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=lib.issupportmail ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;supportBeanUtils&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=lib.issupportbeanutils ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;supportCommonLogging&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=lib.issupportcommonlogging ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;supportCommonCodec&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=lib.issupportcommoncodec ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;supportCommonCollection&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=lib.issupportcommoncollection ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;supportCommonDigester&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=lib.issupportcommondigester ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;supportCommonLang&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=lib.issupportcommonlang ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;supportJakartaRegExp&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=lib.issupportjakartaregexp ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;supportLucene&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=lib.issupportlucene ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;supportDom4j&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=lib.issupportdom4j ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;supportMmMysqlDriver&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=lib.issupportmmmysqldriver ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;supportComMysqlDriver&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=lib.issupportcommysqldriver ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;tr&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;supportImageProcessing&lt;/td&gt;


&LT;TD bgcolor= "#FFFFFF" &gt;&amp;nbsp;&lt;%=lib.issupportimageprocessing ()%&gt;&lt;/td&gt;


&lt;/tr&gt;


&lt;/table&gt;


&lt;p&gt;&lt;br&gt;


&lt;/p&gt;


&lt;/body&gt;


&lt;/html&gt;


&lt;%


Long Endmem = Runtime.getruntime (). Freememory ();


Long total= runtime.getruntime (). MaxMemory ();


Out.println ("Total Memory:" +total);


Out.println ("Start Memory:" +startmem);


Out.println ("End Memory:" +endmem);


OUT.PRINTLN ("Use Memory:" + (STARTMEM-ENDMEM));


Long endtime = System.currenttimemillis ();


OUT.PRINTLN ("Use Time:" + (Endtime-starttime));


%&gt;

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.