-
大小: 94KB文件類型: .rar金幣: 2下載: 0 次發布日期: 2021-05-27
- 語言: 其他
- 標簽:
資源簡介
Struts2+Spring+Hibernate在線商城項目源代碼,很經典的SSH框架技術實現

代碼片段和文件信息
package?com.px1987.webshop.business.aop;
import?java.lang.reflect.*;?
import?java.util.Date;
import?org.apache.log4j.Logger;
import?org.springframework.aop.ThrowsAdvice;
public?class?CustomExceptionAdvice?implements?ThrowsAdvice?
{
public?CustomExceptionAdvice()?
{
//?TODO?自動生成構造函數存根
}
????private?Logger?logger?=?Logger.getLogger(this.getClass().getName());?
????public?void?afterThrowing(Method?targetMethod?object[]?methodArgs?object?targetClassThrowable?exceptionClass)
????{?
String?logInfoText=?“在“+new?Date().toLocaleString()+“時,對“?+?
????????????????????targetMethod+“方法的調用產生了“?+?exceptionClass?+“類型的異常!“;
Logger?rootLogger?=?Logger.getRootLogger();
rootLogger.warn(logInfoText);
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1170??2007-04-24?10:56??在線商城項目源程序\AdminUserInfoPO.hbm.xm
?????文件???????2761??2007-06-11?12:59??在線商城項目源程序\allActionIoC.xm
?????文件???????1324??2007-04-24?12:16??在線商城項目源程序\ehcache.xm
?????文件???????2193??2007-04-24?10:35??在線商城項目源程序\GoodsInfoPO.hbm.xm
?????文件???????1622??2007-10-10?22:16??在線商城項目源程序\hibernate.cfg.xm
?????文件???????1591??2007-04-24?10:18??在線商城項目源程序\log4j.properties
?????文件???????1180??2007-04-24?14:06??在線商城項目源程序\OrderInfoPO.hbm.xm
?????文件???????5425??2007-06-06?14:13??在線商城項目源程序\oscache.properties
?????文件???????4716??2007-06-06?14:13??在線商城項目源程序\oscache.tld
?????文件???????1661??2007-06-05?09:32??在線商城項目源程序\UserInfoPO.hbm.xm
?????文件??????11658??2007-07-04?18:41??在線商城項目源程序\webShopUserInfoIoC.xm
?????文件?????????94??2007-04-24?09:52??在線商城項目源程序\com\px1987\webshop\ApplicationResources.properties
?????文件????????763??2007-04-25?10:49??在線商城項目源程序\com\px1987\webshop\business\aop\CustomExceptionAdvice.java
?????文件????????908??2007-04-25?11:26??在線商城項目源程序\com\px1987\webshop\business\aop\UserLoggerAdvice.java
?????目錄??????????0??2008-06-06?23:17??在線商城項目源程序\com\px1987\webshop\business\aop
?????文件???????6405??2007-06-14?14:59??在線商城項目源程序\com\px1987\webshop\business\cart\CartInfoManageImple.java
?????文件????????860??2007-06-14?09:42??在線商城項目源程序\com\px1987\webshop\business\cart\CartInfoManageInterface.java
?????目錄??????????0??2008-06-06?23:17??在線商城項目源程序\com\px1987\webshop\business\cart
?????文件??????13236??2007-04-27?13:33??在線商城項目源程序\com\px1987\webshop\business\goods\GoodsInfoManageImple.java
?????文件???????4442??2007-04-27?11:35??在線商城項目源程序\com\px1987\webshop\business\goods\GoodsInfoManageInterface.java
?????目錄??????????0??2008-06-06?23:17??在線商城項目源程序\com\px1987\webshop\business\goods
?????文件???????2841??2007-04-25?10:00??在線商城項目源程序\com\px1987\webshop\business\order\OrderInfoManageImple.java
?????文件????????974??2007-04-25?09:58??在線商城項目源程序\com\px1987\webshop\business\order\OrderInfoManageInterface.java
?????目錄??????????0??2008-06-06?23:17??在線商城項目源程序\com\px1987\webshop\business\order
?????文件????????584??2007-04-25?09:13??在線商城項目源程序\com\px1987\webshop\business\springevent\SpringActionEvent.java
?????文件???????2229??2007-04-25?09:15??在線商城項目源程序\com\px1987\webshop\business\springevent\SpringActionEventResponse.java
?????目錄??????????0??2008-06-06?23:17??在線商城項目源程序\com\px1987\webshop\business\springevent
?????文件??????11031??2007-06-05?11:56??在線商城項目源程序\com\px1987\webshop\business\user\UserInfoManageImple.java
?????文件???????2352??2007-04-25?09:23??在線商城項目源程序\com\px1987\webshop\business\user\UserInfoManageInterface.java
?????目錄??????????0??2008-06-06?23:17??在線商城項目源程序\com\px1987\webshop\business\user
............此處省略88個文件信息
- 上一篇:DAC0832 VHDL
- 下一篇:大學課程中相關一些算法題
評論
共有 條評論