论坛首页 Java企业应用论坛

Struts到底有哪些致命的缺点?

浏览 55095 次
该帖已经被评为精华帖
作者 正文
   发表时间:2004-02-02  
4。 从一个frame跳转到另一个frame,没法实现
0 请登录后投票
   发表时间:2004-02-02  
jite 写道
4。 从一个frame跳转到另一个frame,没法实现


请具体说明一下什么情况 .
0 请登录后投票
   发表时间:2004-02-03  
比如现在一个frameset的某个frame做的action。想submit后,能跳转到这个
frame的parent
0 请登录后投票
   发表时间:2004-02-04  
xiaoyu 写道
其实是不是没有很好的工具支持tag才搞得大家说不好的呢??
其实DW是支持tag提示的(添加新的tag很方便,可惜不支持tag显示),就是说不用记住那些什么属性了(大概就可以了,就像记API一样)。
js+xml的那种说复杂又不算复杂,但是又是很复杂的东西(要做得好蛮难,如果了解得不是很清楚--例如这个方法是否夸浏览器等,可能会出其它的错都不知道,更可恶的客户端的开发太大,安全性是否有保证),我觉得很难站得住脚,除非你公司本来就有一 套这种解决方案(把一些api都开发好了),其实现在我都会用js+xml解一些显示问题,不过都不敢做得太复杂,其实也是本人的水平太低了。
再说一句,struct/mvc是一个对于美工非常不利的东西(只要是归功于tag),希望大家开发tag时不要太复杂,其实就算是aps.net也是不能解决美工问题。呵呵,不要见怪,好象大家讨论的结果是这样。
 


表示层来看,ASP.NET已经很强大了,基本实现了逻辑与显示。尤其是复合控件的设计,Studio是提供IDE级的支持的。
0 请登录后投票
   发表时间:2004-02-09  
I think the taglib will integrate IDE easily.

Though the TLD file, we can know the attributes of the taglib, and we can design the ide even code-generator for struts or other framework u own..

So, don't think the taglibs of struts are troubles, i think the taglibs are one of the special and powerful features of struts !

There are lots of MVC frameworks in java world, and u can choice any one for u business logic , no one is the best i think , try to enhance it with ur technologies, because they are opensource !
0 请登录后投票
   发表时间:2004-02-09  
Maybe you are right.But I feel trouble when I use taglib.
I think the style using taglib isn't comforting. And the Tapestry make me excited! Because it is a framework based component and you can master it so quickly.
jini 写道
I think the taglib will integrate IDE easily.

Though the TLD file, we can know the attributes of the taglib, and we can design the ide even code-generator for struts or other framework u own..

So, don't think the taglibs of struts are troubles, i think the taglibs are one of the special and powerful features of struts !

There are lots of MVC frameworks in java world, and u can choice any one for u business logic , no one is the best i think , try to enhance it with ur technologies, because they are opensource !
0 请登录后投票
   发表时间:2004-02-09  
perhaps 写道
Maybe you are right.But I feel trouble when I use taglib.
I think the style using taglib isn't comforting. And the Tapestry make me excited! Because it is a framework based component and you can master it so quickly.
jini 写道
I think the taglib will integrate IDE easily.

Though the TLD file, we can know the attributes of the taglib, and we can design the ide even code-generator for struts or other framework u own..

So, don't think the taglibs of struts are troubles, i think the taglibs are one of the special and powerful features of struts !

There are lots of MVC frameworks in java world, and u can choice any one for u business logic , no one is the best i think , try to enhance it with ur technologies, because they are opensource !


Yap, i believe that using tapestry for mvc framework is another better solution in java webapp, because it only uses the HTML without the scriptlets and taglibs.

The most difference between struts and tapestry is the view controling , in CGI period, we use the tapestry-like c++ framework, however, i chose the struts now ! We make lots of base component for struts, yap, if u want, u can do it for tapestry, too !
To discuss the better or worse points in struts is not important, just to make the applications / projects ^^~
0 请登录后投票
   发表时间:2004-02-10  
perhaps 写道
表示层来看,ASP.NET已经很强大了,基本实现了逻辑与显示。尤其是复合控件的设计,Studio是提供IDE级的支持的。

但是定制铸件很麻烦牙。
JFS也可以实现一些功能
0 请登录后投票
   发表时间:2004-02-11  
JBX对标签能提供支持,但DW还不能。

如果页面美工的时候不受到影响 ,taglib功能确实很强大。
0 请登录后投票
   发表时间:2004-02-11  
ozzzzzz 写道
忽然想到一个相关的问题,为什么现在没有人设想把xsl文件下载到本地的方法呢?这样是不是也是一种Rich Client呢?既然activeX可以java也可以,为什么呢?没有试过,空想而已。


谁说没有
www.delphibbs.com已经用这种方法跑了三四年了
0 请登录后投票
论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics