A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Web Component Certification (SCWCD/OCPJWCD)
Joined: Jan 18, 2006
Jan 18, 2006 06:28:00
I came accross the following code and am not sure of the purpose of it:
<jsp:include page="<%= \"copyright.html\" %>" />
I am also preparing for the SCWCD, and not sure how much I need to know about
"documents" (ie. using XML)... I am using SCWCD Exam study kit...
Joined: Jan 13, 2006
Jan 18, 2006 06:51:00
It is same as <jsp:include page="copyright.html" />
Joined: Sep 05, 2005
Jan 25, 2006 15:12:00
Can we include static html pages in <jsp:include> actions???
Joined: Aug 12, 2005
Jan 27, 2006 22:08:00
Yes we can, but it does not get included during the translation phase.
the directive <%@include file %> gets included during the translation phase before the JSP is compiled into a
The <jsp:include> action will include the resource, static or dynamic, during runtime.
I agree. Here's the link:
Sample web.xml.. may be useful for SCWCD Ranchers
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014