锁定老帖子 主题:Struts2与jQuery使用总结
该帖已经被评为新手帖
|
|
---|---|
作者 | 正文 |
发表时间:2009-02-28
erichua 写道 why we still need structs? I think the spring is enough for ajax json. Structs is really extra
如果从AJAX的角度上来说,Struts/Struts2是略显多余,比如像我,往Response里写JSON... |
|
返回顶楼 | |
发表时间:2009-02-28
最后修改:2009-02-28
murainwood 写道 黑暗浪子 写道 我怎么没听说过“弥合桌面开发和Web的鸿沟”,你说的是flex,JAVAFX吧?
是哇?ASP.NET算是始作俑者吧 AXML(??我没拼错?),或者XUL。。。。 想法很好很强大,关键是政治问题。 |
|
返回顶楼 | |
发表时间:2009-03-01
有时间,我看看啊
|
|
返回顶楼 | |
发表时间:2009-03-02
bonny 写道 murainwood 写道 黑暗浪子 写道 我怎么没听说过“弥合桌面开发和Web的鸿沟”,你说的是flex,JAVAFX吧?
是哇?ASP.NET算是始作俑者吧 AXML(??我没拼错?),或者XUL。。。。 想法很好很强大,关键是政治问题。 我一直做J2EE的。对于微软这种广告说法一向无视。 有人相信这套说辞,我也没办法。 |
|
返回顶楼 | |
发表时间:2009-03-03
这两个结合是比较强大的,特别是用到 AJAX技术的时候特别方便
|
|
返回顶楼 | |
发表时间:2009-03-04
erichua 写道 why we still need structs? I think the spring is enough for ajax json. Structs is really extra
Spring MVC的不好招,虽然学起来也很快,但是开发上来说,虽然只使用很少的功能,Struts2还是要比SpringMVC方便点。 |
|
返回顶楼 | |
发表时间:2009-03-04
最后修改:2009-03-04
erichua 写道 why we still need structs? I think the spring is enough for ajax json. Structs is really extra
OK, so what about the exception handling, and what about many other functions provided by various interceptors? What if you happen to need a jsp page as a result? Besides, how will test the servlets using simply junit? how will deal with the model prepared for the views, please don't tell me you still use request.setAttribute, or optionally, you can use my tool: http://yangyi.iteye.com/blog/277067, which I built before I realized there is struts2 available. |
|
返回顶楼 | |
发表时间:2009-03-04
yangyi 写道 erichua 写道 why we still need structs? I think the spring is enough for ajax json. Structs is really extra
OK, so what about the exception handling, and what about many other functions provided by various interceptors? What if you happen to need a jsp page as a result? Besides, how will test the servlets using simply junit? how will deal with the model prepared for the views, please don't tell me you still use request.setAttribute, or optionally, you can use my tool: http://yangyi.iteye.com/blog/277067, which I built before I realized there is struts2 available. 你的博客还是用中国字的嘛... |
|
返回顶楼 | |
发表时间:2009-03-04
ccxw1983 写道 Struts 2抄袭的webwork ?
webwork被apache招安后就改名字叫Struts2了 |
|
返回顶楼 | |
发表时间:2009-03-17
最后修改:2009-03-17
yyjn12 写道 另外我用struts2,控制台打印出异常信息的时候,面对它那极具深度的异常栈,一层一层的方法调用,总觉得心里不舒服。
什么人能跟我讲讲struts2的好处是什么呢? 我希望的是真心的,切实的体会,而不是教学式的套话。 针对你说的:另外我用struts2,控制台打印出异常信息的时候,面对它那极具深度的异常栈,一层一层的方法调用,总觉得心里不舒服。不知道是不是因为你第一次用struts2的时候遇到的问题,如果是的话,这里(http://hi.baidu.com/longzl/blog/item/f3a414f359365fc30b46e0cb.html)看吧!希望对你有用。因为我也是才学struts2,前几天才遇到的问题,嘿嘿! |
|
返回顶楼 | |