Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Architecture & Framework » Spring Framework  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Re:Struts VS Spring Web [Re:tier3]
dawnlong2000





发贴: 5
积分: 0
于 2005-01-11 21:47 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
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

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   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