aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes SCWCD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "SCWCD" Watch "SCWCD" New topic
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SCWCD