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

您没有登录

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

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 A tutorial for Spring Web [精华]
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2004-07-03 04:04 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
Originally, I uploaded to the ftp, since I don't have access to it at work, so I just append it to here before I go into a long weekend.

This document is intended for mid-level above J2EE developers to jump start Spring MVC web component. You should be able to run web apps by yourself.

1. written in english, since I am good at typing in chinese.
2. each example shows some point, but is small and independent, just concentrate on that point.
3. views(velocity, tapestry, etc) and css are excluded.
4. all src code are included completely, since I am afraid new comers would get lost. They are all tested and run as expected.

Let me know how you think.

This should cover most of the web stuff, next time we'll shoot for database part.

Spring Web Framework 0.4.PDF (597.78k)


floater edited on 2004-07-27 04:42

"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
作者 Re:A tutorial for Spring Web [Re:floater]
helloworld



发贴: 0
积分: 0
于 2004-07-03 04:09 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
Big Smile




作者 Re:A tutorial for Spring Web [Re:floater]
haibo



CJSDN高级会员


发贴: 322
积分: 71
于 2004-07-03 09:00 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
感谢作者的辛苦。
文中有几处提到expert one on one j2ee desing and develop
这本书,大致翻了一下,好像什么都讲,有时我想起了关于“红宝书“
的骂声。




作者 Re:A tutorial for Spring Web [Re:floater]
linux_china



版主


发贴: 752
积分: 240
于 2004-07-03 09:21 user profilesend a private message to usersend email to linux_chinasearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
非常不错!!Tongue


wes109 2004-07-04
未读先ding


veraman 2004-07-09
Thanks


why edited on 2004-07-13 18:37

作者 Re:A tutorial for Spring Web [Re:haibo]
Jove



CJSDN高级会员


发贴: 1228
积分: 194
于 2004-07-04 21:16 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
haibo wrote:
感谢作者的辛苦。
文中有几处提到expert one on one j2ee desing and develop
这本书,大致翻了一下,好像什么都讲,有时我想起了关于“红宝书“
的骂声。

那本书讲的东西确实比较多,正如封面上的评论"Rod所拥有的经验的深度和广度令人印象深刻!"

你可以站内搜索或是Google搜索,看看他人对这本书的评价. 或许等你看了几章后,便会理解为什么有人会称他为"旷世佳作" Smile



作者 Re:A tutorial for Spring Web [Re:floater]
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2004-07-06 09:27 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
1. I reference chapter 12 & 13 of that book because I don't want to repeat what he is saying(don't fix it if it's not broken).
2. His book does cover quite a few topics in J2EE, but there are still more. His saying is very practical and right(I found quite some books didn't get the points in terms of practice). 旷世佳作 is a little bit off, but definitely very good(because the ideas have been around for years).
3. I want to have a tutorial which can show me nuts and bolts, one piece at a time. A combined petstore is good, but not good for beginners. So I wrote the document to fill in the gap.
4. In my document, I try to have seperate examples to show all forms of input from html side, some data flow from the framework to the application logic side.
So a beginner should be able to start coding.



"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
作者 Re:A tutorial for Spring Web [Re:floater]
yanwj



发贴: 0
积分: 0
于 2004-07-13 15:05 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
这篇文章还没有写完吧,什么时候出新版


作者 Re:A tutorial for Spring Web [Re:floater]
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2004-07-13 22:14 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
hehe, what else do you think that I should add?

I am still finding time to add something interesting as I explore.



"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
作者 Re:A tutorial for Spring Web [Re:floater]
yanwj



发贴: 0
积分: 0
于 2004-07-14 17: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
啊!原来这篇文章的作者是floater总版主!真是绝好文章,我已在spring.jactiongroup.net上宣传了,相信一定会有更多的人看到的


作者 Re:A tutorial for Spring Web [Re:floater]
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2004-07-14 23:03 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
Thanks, hopefully it's useful and more and more folks benefit from Spring.

I just updated to the newer version (0.3) and plan to stop here, unless there is a dramatic shake of interests.

After using it for 2 projects, I feel great about it. This should be the way to go.



"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
作者 Re:A tutorial for Spring Web [Re:floater]
yanwj



发贴: 0
积分: 0
于 2004-07-15 23:42 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
0.3版放在哪里啊,急切希望看到它!


作者 Re:A tutorial for Spring Web [Re:yanwj]
davidself

猫哥

CJSDN高级会员


发贴: 1506
积分: 333
于 2004-07-16 07:11 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
yanwj wrote:
0.3版放在哪里啊,急切希望看到它!


附件已经更新了啊。Wink



--108的上铺--
davidself@twitter
作者 Re:A tutorial for Spring Web [Re:floater]
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2004-07-16 09:12 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
yea, the same link on the top, too rush to check that, huh? Tounge


"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
作者 Re:A tutorial for Spring Web [Re:floater]
zhbk





发贴: 10
积分: 0
于 2004-07-21 15:59 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
good,i like this document!thanks!


作者 Re:A tutorial for Spring Web [Re:floater]
superben





发贴: 8
积分: 0
于 2004-07-23 20:07 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
many thanks


作者 Re:A tutorial for Spring Web [Re:floater]
wes109

以梦为马

CJSDN高级会员


发贴: 857
积分: 60
于 2004-07-26 10:30 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
发现一个小问题

(缩略图,点击图片链接看原图)




作者 Re:A tutorial for Spring Web [Re:floater]
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2004-07-26 21:51 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
good catch, wes109!!


"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
作者 Re:A tutorial for Spring Web [Re:floater]
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2004-07-27 04:43 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
just update to version 0.4. Explore the checkbox/multi-selection part, fix several errors. Enjoy.


"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
作者 Re:A tutorial for Spring Web [Re:floater]
errorter





发贴: 114
积分: 2
于 2004-07-28 00:39 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
谢谢 floater!

呵,或许是因Java社区同Open Source联系最为密切,获益也颇多
技术嗅觉敏锐的开发者们在某项技术开始被大众所关注和接受的时候,开始写下自己先前学习应用中的一些体会,或写面向初学者的学习指南,或介绍翻译优秀的资料文档……然后无偿的发布(其实他们最初写作整理的目的也只是分享自己经验(自己学习过程中的苦闷与快乐),给后来者以帮助和启示避免再走自己曾走过的弯路……)
其实这也是Open Source 精神的一种体现;是那些在CSDN整天FUD OpenSource及 OSS破坏了市场抢了自己饭碗的FUDer 永远不会体会的到的。

正如gigix在他Blog里提到的:
“Contributing to Eclipse的第一句话就折射出一种张力:“每个人都需要别人帮助,每个人也都有帮助别人的需要。”获得别人的帮助,是为了世俗的利益;帮助别人,是为了心灵的满足——用马斯洛的话来说,是温饱与自我实现,人类的两种不可或缺的诉求。仅仅追求心灵的满足,会因为付不起房租而痛苦;仅仅追求世俗利益,也会在面对星空时感觉一丝落寞。帮助与被帮助的张力,是Eclipse——乃至整个Open Source——社群存在的理由。”


errorter edited on 2004-07-28 00:47

作者 Re:A tutorial for Spring Web [Re:floater]
zhbk





发贴: 10
积分: 0
于 2004-07-30 14: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
谢谢,我看了,真的很不错


作者 Re:A tutorial for Spring Web [Re:floater]
aryuan

hello world



发贴: 92
积分: 20
于 2004-08-12 14:39 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
关于异常的处理 我在Controller中的handleRequest中写了一行 throw new Exception("test exception”);的代码
在caughtexception.jsp中,Exception ex = (Exception)request.getAttibute(“Exception");取得的ex为null,
请问是为什么?
应该是由spring自动将exception放到session中去的吧



作者 Re:A tutorial for Spring Web [Re:floater]
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2004-08-12 22:13 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
check page 10-11 of the tutorial. You map the exceptions in the xml file.


"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
作者 Re:A tutorial for Spring Web [Re:floater]
wood





发贴: 122
积分: 1
于 2004-10-22 09:19 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
报告,发现一个小错误:
page 12 of 42中 4.5节的例子Hello.jsp
......”$(user)”......”$(now)”......
应该是
......”${user}”......”${now}”......



作者 Re:A tutorial for Spring Web [Re:floater]
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2004-10-22 09:25 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
Good catch. I thought I copied the code from working code, must slip through during format. Thanks.


"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
作者 Re:A tutorial for Spring Web [Re:floater]
wood





发贴: 122
积分: 1
于 2004-10-22 11:09 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
floater,请教一个问题。
page 17 of 42 input2.jsp文件中
<FORM name="userForm" action="/spring/input1post.htm" method="POST">指定action,就不会引用Input1SimpleFormController;如果改为<FORM name="userForm" method="POST">就能引用。即使引用到,发现formBean.length()等于0。
我用的是Tomcat5.0、spring1.0.2、 jDK1.5.0 beta2



作者 Re:A tutorial for Spring Web [Re:floater]
sunfmin





发贴: 41
积分: 10
于 2004-11-24 18:11 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
很想知道floater使用什么写的这个文档?用XMLMind XMLEditor写的DocBook?然后转的?


作者 Re:A tutorial for Spring Web [Re:floater]
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2004-11-24 19:51 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
just msword.


"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

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