This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JSP and the fly likes difference between jsp:include and include directive Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "difference between jsp:include and include directive" Watch "difference between jsp:include and include directive" New topic
Author

difference between jsp:include and include directive

sureshreddy puli
Greenhorn

Joined: Sep 28, 2005
Posts: 29
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

Joined: Jan 10, 2002
Posts: 62139
    
  68

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://kickstarter.com/rocket-mass-heater
 
subject: difference between jsp:include and include directive