資源簡介
框架:基于SSM框架(Spring+SpringMVC+MyBatis) + Mysql數(shù)據(jù)庫 + Tomcat7
數(shù)據(jù)庫工具建議用SQLyog
登錄、首頁顯示用戶名和身份、分頁、模糊查詢、
頁面跳轉(zhuǎn)(首頁、上一頁、下一頁、末頁、指定頁跳轉(zhuǎn)(用戶輸入),第幾/幾頁,總數(shù)據(jù)行數(shù))
JAVA開發(fā)框架中基礎(chǔ)再基礎(chǔ)的東西,必須要學(xué)會。
代碼片段和文件信息
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(“-----方法執(zhí)行前-----“);
}
@After(“execution(*?com.xhs.service.impl.*.*(..))“)
public?void?after(){
System.out.println(“-----方法執(zhí)行后-----“);
}
}
- 上一篇:ARM Translator
- 下一篇:飛機訂票系統(tǒng)web
評論
共有 條評論