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

您没有登录

» Java开发网 » Architecture & Framework  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Re:急!500 No action instance for path XXX could be created原因! [Re:onebluesky]
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2003-05-16 22:45 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
That's why I hate those xml based action mappings.

1. If you have 50 applications, each app has 50 actions in average, then you end up with 2500 action mappings. If you put all of them in one file(1.0 case, 1.1 is better), how to spot errors???

2. If you crack one spot in the xml file, the whole thing simply blows off the roof, like that space shuttle.

3. If I am using jsp, why in the world do I have to bring a xml parser to read this?

I guess those Struts folks are not experienced enough, just hit a jackpot. They didn't think how users are going to use that framework.

xml is good, but not as good as simple properties file in this case, solid, simple, not so easy to break others' irrelevant code.

Well, just a little bit off track, but hope it's useful to see the limitation of struts.

As for the lower version struts lib, don't ask me why it's there, *you* put it there, Tongue, hehe... kidding. It happens. I did that many times.



"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
- Martin Fowler, Refactoring - Improving the Design of Existing Code

话题树型展开
人气 标题 作者 字数 发贴时间
17254 急!500 No action instance for path XXX could be created原因! onebluesky 94 2003-05-14 18:28
14546 Re:急!请问此错误原因! floater 69 2003-05-15 02:12
14865 Re:急!500 No action instance for path XXX could be created原因! why 727 2003-05-16 20:46
14117 Re:急!500 No action instance for path XXX could be created原因! floater 958 2003-05-16 22:45
14196 Re:急!500 No action instance for path XXX could be created原因! onebluesky 124 2003-05-18 00:22
14074 Re:急!请问此错误原因! why 353 2003-05-15 04:25
15877 Re:急!500 No action instance for path XXX could be created原因! onebluesky 2527 2003-05-15 11:32
13855 Re:急!500 No action instance for path XXX could be created原因! onebluesky 71 2003-05-15 13:48
13927 Re:急!500 No action instance for path XXX could be created原因! why 356 2003-05-15 20:03
13905 Re:急!500 No action instance for path XXX could be created原因! floater 130 2003-05-15 22:24
13762 Re:急!500 No action instance for path XXX could be created原因! onebluesky 66 2003-05-16 12:11
19808 Re:急!500 No action instance for path XXX could be created原因! haibo 474 2003-05-16 15:25
13910 Re:急!500 No action instance for path XXX could be created原因! onebluesky 119 2003-05-16 16:57
20006 Re:急!500 No action instance for path XXX could be created原因! haibo 105 2003-05-16 18:12

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-2020 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号
客服电话 0592-8750026    客服信箱 714923@qq.com    客服QQ 714923