在两个jsp文件之间传递值 [英] passing values between two jsp files
本文介绍了在两个jsp文件之间传递值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
<% if(empRecNum != null && !(empRecNum.equals("")))
{
empSelected=true;
}
boolean canModify = UTIL.hasSecurity("PFTMODFY") && empSelected;
%>
<script type="text/javascript">
function add(){
alert('hello');
df('ADD');
}
</script>
在单击添加按钮时,我需要将布尔值传递给另一个jsp,然后继续使用df servlet函数.
On the click of add button, i need to pass the boolean value to another jsp and then go on with the df servlet function.
推荐答案
我发现了这一点,这可能会有所帮助:
I found this, which may help:
http://www.exampledepot.com/egs/javax.servlet.jsp/caller.jsp.html
这篇关于在两个jsp文件之间传递值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文