0

My java class is below. how to get the value of the string returnStatus to JSP . Kindly let me know how to pass this returnStatus value to JSP as my JSp is showing blank even though it is mapped in 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;
}
}  
Raga
  • 1
  • 2
  • Please can you show your JSP and struts mapping – jr593 Jun 01 '17 at 08:35
  • Possible duplicate of [Passing an object from JSP page back to Servlet](https://stackoverflow.com/questions/4253660/passing-an-object-from-jsp-page-back-to-servlet) – Sanket Makani Jun 01 '17 at 08:57
  • WCS Order - eCcelerator Tools
    <%@ include file="footer.jsp" %>
    – Raga Jun 01 '17 at 09:45
  • 1
    Please edit the question rather than trying to post code in comments; it's essentially illegible. Also, please format your code properly, and post actual working code, which this isn't. – Dave Newton Jun 01 '17 at 11:27

0 Answers0