ITeye博客

透水的鱼的博客

透水的鱼 · 共 2 篇文章

简单的Maven模块结构

简单的Maven模块结构是这样的: ---- app-parent |-- pom.xml (pom) | |-- app-util | |-- pom.xml (jar) | |-- app-dao | |-- pom.xml (jar) | |-- app-service | |-- pom.xml (jar) | |-- app-web |-- pom.xml (war) 上述简单示意图中,有一个父项目(app-parent)聚合很多子项目(app-util, app-dao, app-service, app-web)。每个项目,不管是父子,都含有一个pom.xml文件。而且要注意的…

2014-12-05 17:27 · 评论(0)

IE 火狐 回车事件

function keypress(e) { var currKey=0,e=e||event; if(e.keyCode==13) { 执行你要的动作 } } document.onkeypress=keypress;

2014-11-18 17:20 · 前端 · 评论(0)