V
V
Valera Programmer2015-02-06 14:11:27
Java
Valera Programmer, 2015-02-06 14:11:27

Is there something similar in JSTL?

Is there something similar in JSP JSTL as in XSL?
example:

<xsl:template name="name1">
      <div>какая то структура</div>
</xsl:template>
...
...
...

где то в конце на этой же странице

<xsl:call-template name="name1"/> //выведит: <div>какая то структура</div>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2015-02-09
@zolt85

You can put the piece you need in a separate JSP file, and include it on the desired page
part.jsp:
On the page you need:
<%@include file="/path/to/part.jsp"%>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question