Home >Web Front-end >HTML Tutorial >JSP page jump page with parameters_html/css_WEB-ITnose
1.
or
3.< ;jsp:forward page="index2.jsp">
Both can be obtained through ${param.xxx } or in the index2.jsp page.
Note:
param Its value range is Page, Request, Session, Application.
${param.name} is equivalent to request.getParameter("name"), {param[name]} is also the same
${params.name} is equivalent In request.getParameterValues("name")
Note:
1. ${requestScope.name} is equivalent to request.getAttribute("name")
2. The above does not indicate which scope to take from, so the four scopes are detected in order
3. It is best to use ${xxsScope.name} instead of ${param.name}