我的java类如下。如何将字符串returnStatus的值获取到JSP。 请告诉我如何将此returnStatus值传递给JSP,因为我的JSp显示为空白,即使它已在struts中映射
public class WCSOrdersListAction extends ActionSupport{
private String returnStatus;
public String execute() throws SQLException, ClassNotFoundException {
setReturnStatus("SUCCESS");
}
return SUCCESS;
public String getReturnStatus() {
return returnStatus;
}
public void setReturnStatus(String returnStatus) {
this.returnStatus = returnStatus;
}
}