struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amol Ghotankar <>
Subject Issue: Action redirect do not include parameter as complex objects?
Date Tue, 24 May 2011 16:08:58 GMT

I have tried an example in which i have inserted a user using insert method
of UserAction class.

On insert I have redirected the success to loadAdd method of UserAction.

During redirect I have passed the parameter as

<param name="user">${user}</param>

In struts 2.0.14 this gives an ognl exception.

whereas when I pass

<param name="">${}</param>

it works.

My observation says this is a bug in struts or ognl that it does parse
composite objects while it parses simple data types.

Any work-around please suggest.


Is there any way by which I can forward the complete action context or value
stack in the redirected action

With Best Regards,

Amol Ghotankar
Technical Lead
Cursive Technologies Pvt. Ltd.
104, A1 Wing, W Sector,
Masulkar Colony, Ajmera,
Pimpri, Pune-18 INDIA
O: +91 2020 270 570
M: +91 9960 980 419

The information contained in this email and any attachments is confidential
and may be subject to copyright or other intellectual property protection.
If you are not the intended recipient, you are not authorized to use or
disclose this information, and we request that you notify us by reply mail
or telephone and delete the original message from your mail system.

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