开发者

How to hide ArrayList in the JSP and get value to the next actionClass

开发者 https://www.devze.com 2023-03-12 14:23 出处:网络
I\'m stuck with in a place, where I want to generate a xls report, for which I 开发者_开发问答need to pass the list to the JSP.

I'm stuck with in a place, where I want to generate a xls report, for which I 开发者_开发问答need to pass the list to the JSP.

I'm getting data as null, I feel the hidden is not doing any good in setting the arrayList.

I'm using Struts 2.. Let me know if there is way to set the arrayList() as hidden in jsp, if so how do I do it.

Regards, Senny


Struts only provides type conversions for the most common object types/primitives (see http://struts.apache.org/2.0.14/docs/type-conversion.html). If your ArrayList contains complex objects that aren't supported by the default struts2 converters, then this may be why you are not getting the data.

0

精彩评论

暂无评论...
验证码 换一张
取 消