Re: Struts ServletDispatcherResult Forwarding GET Instead of FORWARD

2024-07-24 Thread Rubens Gomes
Below is the line in tomcat code that resolves to REQUEST instead of FORWARD. // Globals.DISPATCHER_TYPE_ATTR "org.apache.catalina.core.DISPATCHER_TYPE" DispatcherType disInt = (DispatcherType) request.getAttribute(Globals.DISPATCHER_TYPE_ATTR); Should I open a bug ticket on Struts or Tomcat? Or

Re: Struts ServletDispatcherResult Forwarding GET Instead of FORWARD

2024-07-24 Thread Rubens Gomes
I noticed the following issue while debugging: StrutsRequestWrapper is missing request attribute "jakarta.servlet.forward.request_uri" Then, tomcat "org.apache.catalina.core.ApplicationDispatcher" doForward method fails to find that attribute in the following line: if (hrequest.getAttribute(FOR