有兴趣学习struts 1.x
我正在开发一个我不熟悉的struts项目。我有jsp、servlet 的背景并且了解j2ee。
有没有好的示例struts示例项目可以下载和学习?
I am working on a struts project which I am new to. I have the background in jsp, servlets and understanding of j2ee.
Is there any good sample struts sample project I can download and learn?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
忘记从样本中学习。我见过各种 Struts 示例,从不完整到完整,从非常糟糕到非常好。如果您是 Struts 新手,您很可能最终会学到很多不好的做法,稍后您将在项目中介绍这些做法,以发现自己做错了。
我的建议是从书本中学习。我个人比较喜欢的是Jakarta-Struts Live:
它相对较小(大约 270 页,而普通的 IT 书大约为 700 页),并向您介绍了您日常使用的大部分组件。解释很好而且切题。
如果可以的话检查一下。如果我没记错的话,它可以在网上免费获得。
Forget learning from samples. I've seen Struts samples ranging from incomplete to complete, from very bad to very good. If you are new to Struts, chances are you will end up learning lots of bad practices that you will introduce in the project later to see that you did it wrong.
My suggestion would be to learn from a book. One that I personally liked was Jakarta-Struts Live:
It's relatively small (~270 pages, as opposed to your average IT book at ~700) and introduces you to most of the components you will use in day to day. Explanations are good and to the point.
Check it out if you can. If I'm not mistaken, it's freely available online.