2008-03-19

spring2.5 mvc的annotation的使用

关键字: spring2.5 mvc annotation
项目中一种在用spring2.0,虽然2.5出来了很多新特性,但是一直没有时间实现,最近抽空做了一次尝试。spring mvc在系统中使用最多的就是Controller、MultiActionController和自定义的View了,Controller annotation的配置很简单,如下: Service的配置@Component public class FooServiceImpl implements FooService { //服务实现 }Controller的配置@Controller @RequestMapping("/findStud ...
kj2ff
搜索本博客
我的相册
39723bb3-0a9b-3357-b6b8-b9ae94144985-thumb
001
共 3 张
最近加入圈子
存档
最新评论