0

I have a part of a jsp page with a bar containing multiple pictures, buttons and text, which I want to be the same on some multiple other pages too. How can I achieve it without "copy paste" of the elements and their functionality?

SuzLy
  • 133
  • 1
  • 10
  • 2
    You can use "" tag A brief explanation in the accepted answer here http://stackoverflow.com/questions/14580120/whats-the-difference-between-including-files-with-jsp-include-directive-jsp-in – RubioRic Mar 25 '16 at 12:42

1 Answers1

0

Of course you could use <jsp:include>

But do take a look at Apache tiles. This framework allows you to bundle multiple jsp fragments into a page layout.

Bhushan Bhangale
  • 10,921
  • 5
  • 43
  • 71