Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

difference between jsp:include and include directive

 
sureshreddy puli
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Please tell me the difference between difference between jsp:include & <%@ include file='file' %>. And also the difference between apache webserver and tomcat webserver.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64970
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One is a run-time include and the other is a translation-time include. This gets asked a lot so look through the forum history if you'd like more details.

Apache is a traditional web server. Tomcat is a web server and servlet/JSP container.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic