设为首页 加入收藏

TOP

Spring+SpringMVC企业快速开发架构搭建(二)
2015-11-10 13:46:06 来源: 作者: 【 】 浏览:16
Tags:Spring SpringMVC 企业 快速 开发 架构 搭建
/spring-aop.xsd
? http://www.springframework.org/schema/tx
? http://www.springframework.org/schema/tx/spring-tx.xsd ">


?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?

?
?
?
?

?
? ?
? ? ?
? ?

?
?
?
?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
?

?

?
?
?
?
?

?
?
?
?
?

?
?
?
?
?


?
?
?
?


3、SpringMVC配置


Springmmc.xml代码



?xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
?xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:context="http://www.springframework.org/schema/context"
?xsi:schemaLocation="http://www.springframework.org/schema/beans
? http://www.springframework.org/schema/beans/spring-beans.xsd
? http://www.springframework.org/schema/context
? http://www.springframework.org/schema/context/spring-context.xsd
? http://www.springframework.org/schema/mvc
? http://www.springframework.org/schema/mvc/spring-mvc.xsd">
?
?
?
?
?
?
? ? ? ?
? ? ? ? ? ?
? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ?yyyy-MM
? ? ? ? ? ? ? ? ? ?yyyy-MM-dd
? ? ? ? ? ? ? ? ? ?yyyy-MM-dd hh-mm
? ? ? ? ? ? ? ? ? ?yyyy-MM-dd hh-mm-ss
? ? ? ? ? ? ? ? ?

? ? ? ? ? ? ? ? ?

? ? ? ? ? ? ? ?

? ? ? ? ? ?

? ? ? ?

? ?

? ? ?
? ? ? ? ?
? ?

??
? ?
?

? ?
?
?
?
?
?
?
?


?
?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?

?


?
?
?
?
? ?
? ?
? ?
? ?
? ?

?

?
? ?
? ?
? ?
? ?

?

?
?
?
?
?
?
?

?
?
?
?
?

?
?
?
??
? ? ? ? ?
? ? ? ? ?
? ? ? ? ?
? ? ? ? ?
? ? ? ? ?
? ? ? ? ?
? ? ? ? ? ?
? ? ? ? ? ? ?
? ? ? ? ? ? ? ? /error/error?
? ? ? ? ? ? ? ? /error/login?
? ? ? ? ? ?
?
? ? ? ?
?
? ?
?
?
?


?
?
?
? ?
? ? text/plain;charset=UTF-8
? ?

?

?

?
?
?
?
?
?
?
?
?
?
?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?

?

?

?
?
? ??
? ? ? ?
? ? ? ?
?
? ?
? ?
? ?
? ?

?

?

?
?


完成以上操作一个完整的SpringMVC项目就创建完成了!


--------------------------------------分割线 --------------------------------------?


首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Spring声明式事务管理 下一篇WebSocket使用示例

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: