struts-user mailing list archives

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

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="user.id">${user.id}</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.

Or

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
www.cursivetech.com


CURSIVE TECHNOLOGIES EMAIL NOTICE
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.

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