• Post Reply Bookmark Topic Watch Topic
  • New Topic

which include tag to use?

 
bhavesh bhatnagar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am having 2 html pages named
header.html(header image)
footer.html(footer image)

and i have around 40 different JSP pages in my application and i wanted to include header.html and footer.html in all of them

which tag will i use

<jsp:include ...>
or
<%@ include ...>

i wanted my application to run faster(page loading will not take much time).
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you understand the difference between the two? If not, see the JSP FAQ.

Given the difference between how they work, which is most appropriate for your use? And have you considered using neither of them in favor of tag files?
 
bhavesh bhatnagar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks
bear for replying

i cleared the problem
and readed the FAQ's
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!