Jsp: forward: request forwarding tag

The < jsp: param > sub tag is used to pass parameters to the dynamic target file. The key codes are as follows: < jsp: forward page = "URL" > < jsp: param name = "name" value = "value" / > < jsp: param name = "name" value = "value" / >... < / JSP: forward >

Example

<jsp:forward page="http://localhost:8080/B/logon.jsp"/>

Typical application

<body>
  您现在位置为index.jsp!
  <jsp:forward page="login.jsp"></jsp:forward>
</body>
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>