File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 3226
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
It's not a secret anymore!