Struts 2 include tag: contains the page tag




Example

<body>
  <h3>使用include标签包含jsp1.jsp</h3>
  <jsp:include page="jsp1.jsp"/>
  <h3>使用include标签包含jsp2.jsp,使用嵌套的param标签向jsp2.jsp传递参数</h3>
  <jsp:include page="jsp2.jsp">
    <jsp:param name="username" value="'mr'"/>
    <jsp:param name="password" value="'mrsoft'"/>
  </jsp:include>
</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
分享
二维码
< <上一篇
下一篇>>