package org.apache.struts.action;

import org.apache.struts.config.ForwardConfig;

public class ActionForward extends ForwardConfig {
  public ActionForward() {
    this((String)null, false);
  }
  
  public ActionForward(String path) {
    this(path, false);
  }
  
  public ActionForward(String path, boolean redirect) {
    setName(null);
    setPath(path);
    setRedirect(redirect);
  }
  
  public ActionForward(String name, String path, boolean redirect) {
    setName(name);
    setPath(path);
    setRedirect(redirect);
  }
  
  public ActionForward(String name, String path, boolean redirect, boolean contextRelative) {
    setName(name);
    setPath(path);
    setRedirect(redirect);
    setContextRelative(contextRelative);
  }
}
