Java 将JSP的特定部分调用到另一个JSP中
我有两个孩子Java 将JSP的特定部分调用到另一个JSP中,java,jsp,Java,Jsp,我有两个孩子 ------------------------------------ first.jsp ..... <jsp:include page="second.jsp"/> .... <div id='anotherId' > how to include that secound.jsp 's div tag </div ------------------------------------- second.j
------------------------------------
first.jsp
.....
<jsp:include page="second.jsp"/>
....
<div id='anotherId' >
how to include that secound.jsp 's div tag
</div
-------------------------------------
second.jsp
....
<div id='abc'>
</div>
------------------------------------------
------------------------------------
first.jsp
.....
....
如何包含secound.jsp的div标记
您需要在JSP的内部重新使用它们 我知道自定义标签,但我不知道这是如何解决我的问题的。你能给我一个理由,让我改进我的问题吗。没有理由,我不能张贴更好的。