Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

includes

Status
Not open for further replies.

varocho

Programmer
Dec 4, 2000
238
US
I want to include a file in a JSP, the file has some HTML and Java code in it, and it has an '.inc' extension. Because the file has Java code in it, I can't use the 'include' directive, right? I have to use the 'jsp:include' action tag instead? In either case, a relative path to the include file (either in the same directory as the JSP or in a subdirectory of the JSP directory) has to be specified?
 
This will be fine ::

<%@ include file=&quot;hdr.inc&quot; %>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top