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

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

posted @ 2022-01-28 20:11  malala  阅读(90)  评论(0编辑  收藏  举报