JSP跨iframe如何传递参数实现代码_javascript技巧

WBOY
Release: 2016-05-16 17:22:17
Original
1379 people have browsed it

表单与操作页面分离
按钮按下,click 或者onclick事件触发
传递一个唯一性的参数至子页面JSP,
子页面内,负责查询与判断逻辑,
JSP:FORWARD尝试过,直接报错

复制代码代码如下:



子页面
复制代码代码如下:

String tf_application=(request.getParameter("t_application"));
%>

if(tf_application !=null)
{
tf_application = null;
}
%>


尝试使用request或者session,如何使用onclick属性在getAtturibute上使用是个难题
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!