Home > Web Front-end > JS Tutorial > body text

How to pass parameters across JSP iframe implementation code_javascript skills

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

The form is separated from the operation page
When the button is pressed, the click or onclick event is triggered
Pass a unique parameter to the sub-page JSP,
In the sub-page, it is responsible for query and judgment logic,
JSP:FORWARD Tried it and reported an error directly

Copy the code The code is as follows:



Sub page
Copy code The code is as follows:

<%
String tf_application= (request.getParameter("t_application"));
%>
<%=tf_application%>
<%
if(tf_application !=null)
{
tf_application = null;
}
%>
<%=tf_application%>

Try to use request or session, how to use onclick attribute on getAtturibute is a question problem
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
Popular Tutorials
More>
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!