将值传递给另一个jsp [英] Pass value to another jsp

查看:97
本文介绍了将值传递给另一个jsp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到的情况是我需要为收藏集中的每个条目创建一个hiperlink 以下是我的代码.

I have come in a situation where I need to create a hiperlink for each entry in collection following is my code..

       <td><a href="#" onclick="javascript:openWindow(--------)">Click 

我如何在空白空间中获得$ {current.product_id}值...,以便可以将我的值传递给下一个jsp进行内部处理....

How can i get ${current.product_id} value in blank space... so that i can pass my value to next jsp for internal processing....

推荐答案

我对struts不熟悉,但是这样做不会成功吗?

I'm not familiar with struts, but won't this do the trick?

<td><a href="#" onclick="javascript:openWindow(<%=current.getProductId()%>)">Click

这篇关于将值传递给另一个jsp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆