Redirect:
public void performExecute() throws ECException {
..........
..........
TypedProperty rspProp = new TypedProperty();
rspProp.put(ECConstants.EC_URL, "ViewName");
rspProp.put(ECConstants.EC_VIEWTASKNAME,
ECConstants.EC_GENERIC_REDIRECTVIEW);
.........
.........
}
Forward:
public void performExecute() throws ECException {
..........
..........
TypedProperty rspProp = new TypedProperty();
rspProp.put(ECConstants.EC_VIEWTASKNAME,
"ViewName");
.........
.........
}
WHAT IF YOU HAVE THREE PARAMETERS SET..
ReplyDeleterspProps.put(ECConstants.EC_URL, postbackURL);
rspProps.put(ECConstants.EC_VIEWTASKNAME, ECConstants.EC_GENERIC_REDIRECTVIEW);
rspProps.put(ECConstants.EC_REDIRECTURL, JSPViewNames.View_name);