This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The "Include" directive is used to include output from other sources such as HTML, JSP, etc. during page translation time, into the output of your JSP page. A Typical example is web sites that have the same header/footer on all pages. Instead of having the same HTML on all pages, that common information can be extracted into a file and then "included" in the resulting JSP at translation time.
------------------ Bosun SCJP for the Java� 2 Platform
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Joined: Aug 27, 2001
Thanks Bosun but here is my real problem: with the include directive a programmer can either include .jsp, .html and .inc files types. Now I know what jsp and html files are but what type of a file is an inc file e.g. fileName.inc. Does it get translated, compiled or anything else? Could we convert a .inc file to a jsp without any problems.