File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

difference between jsp:include and include directive

 
sureshreddy puli
Greenhorn
Posts: 29
  • 0
  • 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: 64178
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic