struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ej Magdaluyo <>
Subject Re: Upgrading Struts 2.2.3 to 2.3.34
Date Fri, 13 Oct 2017 09:17:02 GMT
Hi Yasser, Lukasz,

This is to confirm that the issue with fileSizeError was fixed through
Yasser's suggestion :)

Upon checking our application, most of the functionalities seem to be
working now, except for one page which throws an Error403-- Forbidden
error. We are not able to retrieve any logs in relation to this:

Error 403--Forbidden
>From RFC 2068 *Hypertext Transfer Protocol -- HTTP/1.1*:10.4.4 403 Forbidden


<action name=*"viewMySearchRequest"* method=*"viewMyRequest"* class=

<result name=*"success"* type=*"tiles"*>/viewMySearchRequest</result>


<action name=*"viewMyRequest"* method=*"viewMyRequest"* class=

<result name=*"success"*>/viewMyRequest.jsp</result>


<definition name="/viewMySearchRequest" extends="baseLayout">
<put-attribute name="title" value="View Request"/>
<put-attribute name="header" value="/jsp/common/headerForApprover.jsp"/>
<put-attribute name="body" value="/jsp/viewMySearchRequest.jsp"/>

<definition name="/viewMyRequest" extends="baseLayout">
<put-attribute name="title" value="View Request"/>
<put-attribute name="header" value="/jsp/common/headerForApprover.jsp"/>
<put-attribute name="body" value="/jsp/viewMyRequest.jsp"/>

some java snippets (I assume it has something to do with the
imports/implementation given that it is not able to access the page itself):

import javax.servlet.RequestDispatcher;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.apache.struts2.interceptor.ServletRequestAware;
import org.apache.struts2.interceptor.ServletResponseAware;

public class MyRequestAction extends BaseAction implements
Logger log = new Logger(this.getClass());
HttpServletRequest request;
HttpServletResponse response;

        *public* String viewMyRequest() *throws* Exception {//My Request
page while clicking view/display icon

               SearchCriteriaVO searchCriteriaVO= constructSearchCriteria();

               MyRequestDelegate myRequestDelegate = *new*

               ViewReqDetails = myRequestDelegate.getRequestViewDetails(


               String searchEnabled=request.getParameter("searchEnabled");





               request.setAttribute("ViewReqDetails", ViewReqDetails);

               *return*  *SUCCESS*;


public void setServletRequest(HttpServletRequest arg0) {

// TODO Auto-generated method stub


public void setServletResponse(HttpServletResponse arg0) {
// TODO Auto-generated method stub


On Fri, Oct 13, 2017 at 3:56 PM, Yasser Zamani <>

> On 10/13/2017 9:14 AM, Lukasz Lenart wrote:
> > I think we can fix it in 2.5.14
> That is a bug inside Ej's custom interceptor, I think.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message