0

我正在使用带有struts 1的ZK。1.我有四个文件,两个zul文件一个用于输入,第二个用于输入值的成功消息2.Action类获取表单值,在服务器中打印并转发到成功zul文件

when i submit the input zul page , the control is correctly going to the action class, there printed the form values correctly .From i am forwarding to another zul. there i cant get the form value
4

1 回答 1

0

我假设您的问题是如何在 ZUL 文件中检索操作类的值。我认为您可以实现一个变量解析器,然后在 zul 文件中声明解析器,如下所示。

然后,在 ZUL 文件中,你可以直接用 EL 访问它们,例如 ${whatever.you.want}。

希望能帮助到你。

于 2010-08-22T05:15:27.053 回答