Re: Upgrading Struts 2.2.3 to 2.3.34

2017-10-27 Thread Lukasz Lenart
2017-10-27 14:34 GMT+02:00 Ej Magdaluyo : > This is the java code: > public String viewMyRequest() throws Exception { > SearchCriteriaVO searchCriteriaVO= constructSearchCriteria(); > MyRequestDelegate myRequestDelegate = new MyRequestDelegate(); > ViewReqDetails = myRequestDelegate.getRequestViewD

Re: Upgrading Struts 2.2.3 to 2.3.34

2017-10-27 Thread Ej Magdaluyo
Hi Lukasz, The code once being called in the JSP seems to return a null value. This is the java code: public String viewMyRequest() throws Exception { SearchCriteriaVO searchCriteriaVO= constructSearchCriteria(); MyRequestDelegate myRequestDelegate = new MyRequestDelegate(); ViewReqDetails = myRe

Re: Upgrading Struts 2.2.3 to 2.3.34

2017-10-27 Thread Lukasz Lenart
I think this is your problem: ViewReqDetailsVO ViewReqDetails = (ViewReqDetailsVO)request.getAttribute("ViewReqDetails"); that the "ViewReqDetails" request attribute is null. You can check by putting System.out.println(ViewReqDetailsVO) next to the above What logic/code do you use to put that at

Re: Upgrading Struts 2.2.3 to 2.3.34

2017-10-27 Thread Ej Magdaluyo
Hi Yasser, Unfortunately, moving the raw java codes into the action is not an option. We have tried running the java files itself and there are no issues with the output, which leads me to believe that there might by an issue with struts in our jsp and its interaction with the scriplets we are usi