struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: URI too long error when using ExecuteAndWait interceptor
Date Mon, 30 Nov 2020 09:41:47 GMT
I thought a bit about this problem and to be honest I didn't find a
better solution. It would require some selective logic which params
include, e.g:

<s:url includeParams="selective" params="param1,param2,param5"/>

Would that work for you?


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

sob., 21 lis 2020 o 16:21 Burton Rhodes <burtonrhodes@gmail.com> napisał(a):
>
> I ended up replacing the <meta> tag refresh method with javascript that
> parses the "url" variable and recreates a <form> element on the fly to
> submit via POST.
>
> On Fri, Nov 20, 2020 at 4:19 PM Burton Rhodes <burtonrhodes@gmail.com>
> wrote:
>
> > I have a page that submits a form via POST and uses the ExecuteAndWait
> > interceptor.  On the "wait" jsp I have:
> >
> >     <meta http-equiv="refresh" content="5;url=<s:url
> > includeParams="all"/>"/>
> >
> > However, the includeParams "all" is including all the POST form variables
> > (which there are many), and as a result, I am getting a "URI too long"
> > exception.  Is there an easy fix for this?  Can't believe I've never run
> > into this issue before.
> >
> > Many thanks.
> >

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


Mime
View raw message