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有什么区别呢?

解决方案 »

  1.   

    redirect 是true和false的区别大了去了
    hehe
    自己研究下吧
      

  2.   

    public ActionMessage(java.lang.String key,
                         boolean resource)
    Construct an action message with the specified replacement values.
    还有ActionMessage(key, resourse)
    的resource值是true和false的区别?
      

  3.   

    ActionMessage(String key,boolean isresource) 
      如果isresource值为true,则表示key是资源文件中的key,产生的消息就是与key相对应的消息 
      如果isresource值为false,则表示key为一条普通的消息。 
      

  4.   

    true:重定向。
    false:转发。