struts中:
ActionForward(java.lang.String path, boolean redirect)
Construct a new instance with the specified path and redirect flag.当new ActionForward("path",false);时,redirect是true和false有什么区别呢?
ActionForward(java.lang.String path, boolean redirect)
Construct a new instance with the specified path and redirect flag.当new ActionForward("path",false);时,redirect是true和false有什么区别呢?
hehe
自己研究下吧
boolean resource)
Construct an action message with the specified replacement values.
还有ActionMessage(key, resourse)
的resource值是true和false的区别?
如果isresource值为true,则表示key是资源文件中的key,产生的消息就是与key相对应的消息
如果isresource值为false,则表示key为一条普通的消息。
false:转发。