Re: Upgrading Struts 2.2.3 to 2.3.34

2017-10-25 Thread Lukasz Lenart
2017-10-25 18:50 GMT+02:00 Ej Magdaluyo : > We did not change anything with regards to the java files, so we are unsure > why it is returning a 403 forbidden. Would you have any ideas? I would move this code into an action, probably it produces an exception. Regards -- Ɓukasz + 48 606 323 122 h

Re: Upgrading Struts 2.2.3 to 2.3.34

2017-10-25 Thread Yasser Zamani
On 10/25/2017 8:20 PM, Ej Magdaluyo wrote: > Would you have any ideas? I think it furthermore is not a Struts issue, nor Tiles issue and you can revert back to tiles result. It seems there is an issue with raw java codes in that jsp. See if [1] can help. [1] https://stackoverflow.com/questio

Re: Upgrading Struts 2.2.3 to 2.3.34

2017-10-25 Thread Ej Magdaluyo
HI Yasser, Upon doing investigation, it seems that the permission issue may be appearing once we create objects and call java files: <% ViewReqDetailsVO ViewReqDetails = (ViewReqDetailsVO)request.getAttribute("ViewReqDetails"); java.util.List classficationList = ViewReqDetails.getClassficationLis

Re: Upgrading Struts 2.2.3 to 2.3.34

2017-10-25 Thread Ej Magdaluyo
Hi Yasser, Upon doing your suggestion, the simple string appeared without any issues. Thanks. On Wed, Oct 25, 2017 at 10:14 PM, Yasser Zamani wrote: > > > On 10/25/2017 5:32 PM, Ej Magdaluyo wrote: > > This is a really difficult issue to troubleshoot:( > > I love difficult issues ;) could you

Re: Upgrading Struts 2.2.3 to 2.3.34

2017-10-25 Thread Yasser Zamani
On 10/25/2017 5:32 PM, Ej Magdaluyo wrote: > This is a really difficult issue to troubleshoot:( I love difficult issues ;) could you please backup that jsp's contents then replace it's contents with just a simple string like "I am viewMyRequest.jsp" then run and see what happens?

Re: Upgrading Struts 2.2.3 to 2.3.34

2017-10-25 Thread Ej Magdaluyo
Hi Yasser, Unfortunately, we already have debug enabled, and there is no error log pointing to why 403 is thrown. Everything in the logs is normal up until the 403 Forbidden error. This is a really difficult issue to troubleshoot :( Thanks. On Wed, Oct 25, 2017 at 5:50 PM, Yasser Zamani wrote:

Re: Upgrading Struts 2.2.3 to 2.3.34

2017-10-25 Thread Yasser Zamani
On 10/25/2017 12:41 PM, Ej Magdaluyo wrote: > it still returns a > 403 error with the new jsp file I remember you use WebLogic. Please enable it's debug logging and examine it's output (search viewMyRequest and see above and belog log lines). I guess it should say why it throws 403?

Re: Upgrading Struts 2.2.3 to 2.3.34

2017-10-25 Thread Ej Magdaluyo
Hi Yasser, We have tried the method you have suggested. However, it still returns a 403 error with the new jsp file. We have also tried relocating the jsp and calling it elsewhere, but it is still not working. We are currently out of ideas on how to proceed. Do you think it may have something to