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

上一篇:JSP动作包括:include,:useBean,:forward,:plugin,:setProperty,:getProperty


下一篇:推荐系统论文之序列推荐:KERL