echo ""; echo ""; echo ""; echo ""; if(!is_admin){echo "";} » spring+struts+hibernate 仲子说

欢迎您光临我的个人网站!


2009-02-03

JDBC中的Communications link failure due to underlying exception错误的解决办法

Posted in Java, spring+struts+hibernate at 16:50 by 仲远

标签:
Zhongyuan Wang

97100fe403b8

???????JDBC??Mysql???????“Connection reset”??????????
Connection couldn’t be established to jdbc:mysql://***/***?user=***&password=********
com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: 

** BEGIN NESTED EXCEPTION ** 
com.mysql.jdbc.CommunicationsException
MESSAGE: Communications link failure due to underlying exception:  ** BEGIN NESTED EXCEPTION ** 
java.net.S...查看全文

2007-05-03

Structs网站中Java获取文件路径问题

Posted in 转载, spring+struts+hibernate at 16:51 by 仲远

标签:

??????????Mashup???????????????java???????????Jsp??????????WebRoot???java?????????????????????????????????????????????????????????
http://blog.csdn.net/shendl/archive/2006/12/03/1427475.aspx
???????“?Web??????????”??????ServletContext.getRealPath(”/”)?????????????ServletContext????action???????web??Util?????????????action??????????ServletContext???????????????

...查看全文