jsp:forward动作怎么用请举例?

2021-07-12 11:19:17 浏览数 (1)

3.jsp:forward动作:

jsp:forward动作是跳转到另外的页面。

例 4.3.1

jsp1.jsp:

<jsp:forward page="jsp2.jsp">

<jsp:param name="name" value="mark-to-win" />

</jsp:forward>

jsp2.jsp

<body>

name is <%=request.getParameter("name")%>

</body>

更多请看:https://blog.csdn.net/qq_44594371/article/details/103168037

jsp

0 人点赞