struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yasser Zamani <yasser.zam...@live.com>
Subject Re: Upgrading Struts 2.2.3 to 2.3.34
Date Sat, 14 Oct 2017 06:24:00 GMT


On 10/13/2017 12:47 PM, Ej Magdaluyo wrote:
> <action name=*"viewMyRequest"* method=*"viewMyRequest"* class=
> *"com.MyRequestAction"*>
> 
> <result name=*"success"*>/viewMyRequest.jsp</result>
> 
> </action>

I have no idea how above works in your previous app!! I guess that is an 
another bug in your app. You don't have `/viewMyRequest.jsp` (rather 
than `/jsp/viewMyRequest.jsp`) so maybe you get 403 because of this (As 
Ɓukasz correctly mentioned, such fails usually are from the container; 
here Jetty). According to context, I think you should rewrite above as 
below:

<result name="success" type="tiles">/viewMyRequest</result>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Mime
View raw message