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 Servlets and the fly likes include file 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 » Servlets
Bookmark "include file directive" Watch "include file directive" New topic

include file directive

Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
Hi, I have a question about <%@ include file="someURL"%>. Is it mainly for creating a frame within a HTML page that has another HTML?
Thank you so much.
Tony Alicea

Joined: Jan 30, 2000
Posts: 3222
That is just one use out of many. It also happens to be the one that I am using it for, at work.
Most readers of this forum will appreciate this link, in which the first of the Top Ten JSP Tips is "Choosing the Right Include Mechanism":

Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
I agree. Here's the link:
subject: include file directive