It's not a secret anymore!*
The moose likes JSP and the fly likes jsp:include Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "jsp:include" Watch "jsp:include" New topic
Author

jsp:include

Prem Chand
Greenhorn

Joined: Nov 13, 2002
Posts: 3
What is the difference b/w <jsp:include> and page include directive in JSP?
Chris Stehno
Ranch Hand

Joined: Feb 26, 2001
Posts: 180
The include directive is a static include (includes the source at compile time)... the jsp:include tag is used for dynamic includes (calls the included page at runtime and includes its response).
Hope this helps.


- Chris Stehno, SCPJ
 
GeeCON Prague 2014
 
subject: jsp:include