tmplex.jsp

来自「Jodd是一个开源的公用Java基础类库」· JSP 代码 · 共 20 行

JSP
20
字号
<%@taglib uri="jodd" prefix="jodd"%>

<jodd:import page="master_template.jsp">
	<jodd:param name="content">
		Content of the page is defined here.<br>
		Code this part as usual.<br>
		Use everything you would use as there were no import tags.<br>
	</jodd:param>
	<jodd:param name="footer" value="verXXX"/>
</jodd:import>

<hr>
This is an example of template usage with import tag.
Template is defined in the external jsp file.

<br><br>
Note: reloads for seeing changes may not work in IE.
in that case just go back and click on the link to come here
again.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?