A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Web Component Certification (SCWCD/OCPJWCD)
Joined: May 18, 2005
Apr 09, 2006 19:57:00
i checked the following code and it works
but according to HFSJ page 402, the <jsp:include> standard action include the response of included file at runtime, but while including the sample.txt there is no response generated since it is a simple txt file.
pls explain the contradiction.
thanks in advance
SCJP 1.4, SCWCD1.4, OCA(1Z0-007)
Joined: Nov 24, 2005
Apr 09, 2006 20:16:00
By response they mean the container's translation of the file included.
Not a response in the sense of HttpResponse.
All roads lead to JavaRanch
Connie Ky Leung
Joined: Jan 29, 2006
Apr 12, 2006 09:16:00
<jsp:include> standard action can be used to include static content and dynamic content.
The content of the text file is evaluated before being written to the response.
SCJP 1.4 - 91%, SCWCD - 97%, SCJP 5.0 - 83%, SCJP 6.0, OCEJWCD - 80%
I agree. Here's the link:
subject: standard action
What is the impact of changing the @include to <jsp:include> in our j2ee application
JSP or JSPF
Include directive and include std action
question on JSP directive
can i use page for jsp standard actions
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014