摘要:
Apache HTTP server 和 Tomcat server 整合,一般是希望对于用户只公布 Apache HTTP server 的网址,而 Tomcat 的网址则不公布,扮演一个幕后英雄的角色。访问 Tomcat 的 HTTP 请求,通过 Apache 转发给 Tomcat,Tomcat... 阅读全文
摘要:
equals()方法是java中基本类型object类的一个方法,因为java中的包装类(Byte,Integer,Short,Character,Long,Float,Double,Boolean)覆盖了object类的equals()方法,实现了按值比较,所以当运用包装类上的equals()方... 阅读全文
摘要:
CREATE TABLE student ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, teacher INTEGER UNSIGNED NOT NULL, name varchar(12) BINARY NOT NULL... 阅读全文
摘要:
You can set CLASSPATH and PATH in your user directory or /etc/profile.JAVA_HOME=/usr/java/jdk1.6.0_10JAVA_BIN=/usr/java/jdk1.6.0_10/binexport JAVA_HOM... 阅读全文
摘要:
public static E deepClone(E object) throws IOException, ClassNotFoundException { ByteArrayOutputStream bo = new ByteArrayOutputStream(); ObjectOutp... 阅读全文
摘要:
In springMVC, We use model.addAttribute(String,String) to add something into request, then we can fetch it in the forward JSP page through EL expressi... 阅读全文