| Author |
SCWCD
|
Matt Rogers
Greenhorn
Joined: Jan 18, 2006
Posts: 1
|
|
Hi, 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 JSP "documents" (ie. using XML)... I am using SCWCD Exam study kit... thanks, Matt
|
 |
Mukesh Mittal
Ranch Hand
Joined: Jan 13, 2006
Posts: 31
|
|
|
It is same as <jsp:include page="copyright.html" />
|
 |
shanthisri mocherla
Ranch Hand
Joined: Sep 05, 2005
Posts: 119
|
|
Can we include static html pages in <jsp:include> actions??? Shanthi
|
 |
Jay Tse
Greenhorn
Joined: Aug 12, 2005
Posts: 11
|
|
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 servlet class. The <jsp:include> action will include the resource, static or dynamic, during runtime.
|
 |
 |
|
|
subject: SCWCD
|
|
|