struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ej Magdaluyo <ejmagdal...@gmail.com>
Subject Re: Upgrading Struts 2.2.3 to 2.3.34
Date Thu, 12 Oct 2017 08:14:55 GMT
HI Lukasz, Yasser,

I would just like to confirm if it is expected that we would need to add a
fileSizeError result. This is because the code was working in Struts 2.2.3,
and the error only appeared post-migration. I reviewed the migration notes,
and I am not certain which version changed this.

We have a fileSizeError jsp being called in another part of struts.xml:

<action name="reviewUpload" class="com.AddAccess" method="reviewUpload">
<result name="success">popupreview.jsp</result>
<result name="fileSizeError">fileSizeError.jsp</result>
</action>


Jar files used:
[image: Inline image 1]
[image: Inline image 2]


On Thu, Oct 12, 2017 at 4:01 PM, Lukasz Lenart <lukaszlenart@apache.org>
wrote:

> 2017-10-12 9:44 GMT+02:00 Ej Magdaluyo <ejmagdaluyo@gmail.com>:
> > Hi Lukasz,
> >
> > Here it is:
> >
> > <action name="editMyDraft" method="editMyDraft"
> class="com.MyRequestAction">
> > <result name="success" type="tiles">/addAccess</result>
>
> As Yasser already pointed out, you are missing a "fileSizeError"
> result, probably one of the interceptors returns it.
>
>
> Regards
> --
> Ɓukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

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