Page 1 of 1

About Question com.enthuware.ets.scwcd.v5.2.133 :

Posted: Thu Oct 09, 2014 5:52 pm
by bluster
One of the wrong answers is
<jsp:include file="notice.html"/>
The blue explanations says
This causes inclusion at request time.
The JSP spec 5.4 lists two valid attributes to jsp:include: "page" and "flush". Perhaps the blue explanation should be changed to reflect that "file" is invalid; it could make one think it is OK. Happened to me.. :oops:
JavaServer PagesTM Specification
Version 2.0

Table JSP.5-4 jsp:include Atrributes
page: The URL is a relative urlSpec as in Section JSP.1.2.1. Relative paths are interpreted relative to the current JSP
page. Accepts a request-time attribute value (which must evaluate to a String that is a relative URL specification).

flush: Optional boolean attribute. If the value is true, the buffer is flushed now. The default value is false.

Re: About Question com.enthuware.ets.scwcd.v5.2.133 :

Posted: Thu Oct 09, 2014 8:10 pm
by admin
You are right. Fixed.
thank you for your feedback!