資源簡介
框架:基于SSM框架(Spring+SpringMVC+MyBatis) + Mysql數據庫 + Tomcat7
數據庫工具建議用SQLyog
登錄、首頁顯示用戶名和身份、分頁、模糊查詢、
頁面跳轉(首頁、上一頁、下一頁、末頁、指定頁跳轉(用戶輸入),第幾/幾頁,總數據行數)
JAVA開發框架中基礎再基礎的東西,必須要學會。
代碼片段和文件信息
package?com.xhs.aop;
import?org.aspectj.lang.annotation.After;
import?org.aspectj.lang.annotation.Aspect;
import?org.aspectj.lang.annotation.Before;
import?org.springframework.stereotype.Component;
@Aspect
@Component
public?class?Log?{
@Before(“execution(*?com.xhs.service.impl.*.*(..))“)
public?void?before(){
System.out.println(“-----方法執行前-----“);
}
@After(“execution(*?com.xhs.service.impl.*.*(..))“)
public?void?after(){
System.out.println(“-----方法執行后-----“);
}
}
- 上一篇:ARM Translator
- 下一篇:飛機訂票系統web
評論
共有 條評論