Java开发网 |
注册 |
登录 |
帮助 |
搜索 |
排行榜 |
发帖统计
|
您没有登录 |
» Java开发网 » Architecture & Framework
» Spring Framework
打印话题 寄给朋友 订阅主题 |
作者 | Re:Struts VS Spring Web [Re:tier3] |
dawnlong2000
发贴: 5 积分: 0 |
于 2005-01-11 21:47
i've spent many days on studying the source codes of both struts and spring for the sake of my project. i prefer to spring.i felt the same as all of you,including Rod Johnson. in fact,we don't need so many as struts provided; i did my own design in my project.1)map the path to action as struts/spring did,but simplier;2) validate the input data on the client side by javascript to simplify error handling(don't need to redisplay on error);3)transform request data to java beans by means of introspection/spring's data binding;4) don't need tags--it's more understandable and convenient not to use tags. it seems to me that in spring's configuration file,we can't make more than one view resovlers? i mean -- InternalResoureViewResolver and ResourceBundleViewResolver are not both used in the file,becaues we can't specify which to resolve the view names? Java应用者与<IDE/环境> |
话题树型展开 |
人气 | 标题 | 作者 | 字数 | 发贴时间 |
25405 | Struts VS Spring Web | tier3 | 284 | 2004-09-15 19:52 |
23755 | Re:Struts VS Spring Web | tier3 | 202 | 2004-09-15 19:54 |
24576 | Re:Struts VS Spring Web | floater | 2300 | 2004-09-16 01:27 |
23730 | Re:Struts VS Spring Web | tier3 | 769 | 2004-09-16 09:17 |
23499 | Re:Struts VS Spring Web | floater | 207 | 2004-09-16 22:30 |
23320 | Re:Struts VS Spring Web | bill1 | 28 | 2004-09-29 08:32 |
23848 | Re:Struts VS Spring Web | sunfmin | 4558 | 2004-12-24 16:24 |
23299 | Re:Struts VS Spring Web | floater | 121 | 2004-12-24 21:37 |
23506 | Re:Struts VS Spring Web | dawnlong2000 | 856 | 2005-01-11 21:47 |
23995 | Re:Struts VS Spring Web | floater | 124 | 2005-01-11 23:04 |
已读帖子 新的帖子 被删除的帖子 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |