File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp:include" Watch "jsp:include" New topic


Prem Chand

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
Don't get me started about those stupid light bulbs.
subject: jsp:include
Similar Threads
fieldset and form problem
I need to call a HtML file in c drive from my jsp
passing parameters in jsp:include
jsp:include on exam ?