Re: StackOverflowError

2022-06-21 Thread Prasanth
I need an id added to the link as a param (coming from prior action), so 
have used a JSP forward. If I use redirect type and specify the url in 
the struts.xml itself would I be able to specify the dynamic id provided 
by prior action?


Thanks,
Prasanth

On 2022-06-21 00:11, Lukasz Lenart wrote:
wt., 21 cze 2022 o 04:31 Prasanth  
napisał(a):

Would there be a release based on this? If not what is the best way to
include a new swingset jar into Maven build for a project?


Yes, I'm working on a fix. And if you cannot use "redirect" result
instead of "dispatcher" in such case, you must wait with migration
till a patch will be released.


Regards


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



Re: StackOverflowError

2022-06-21 Thread Lukasz Lenart
wt., 21 cze 2022 o 11:56 Prasanth  napisał(a):
>
> I need an id added to the link as a param (coming from prior action), so
> have used a JSP forward. If I use redirect type and specify the url in
> the struts.xml itself would I be able to specify the dynamic id provided
> by prior action?

Here you have a few examples
https://struts.apache.org/core-developers/redirect-action-result
basically you just need to specify ID param with a reference to a getter:




dashboard
/secure
${id} // -> it will call action's getId()





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

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