Page 1 of 1

About Question enthuware.jwpv6.2.701 :

Posted: Tue Nov 22, 2011 7:01 am
by kathy
Should the comment to solution 2 not be
<jsp:directive.include file="notice.html"/>
This causes inclusion at runtime instead of translation time ?

Re: About Question enthuware.jwpv6.2.701 :

Posted: Tue Nov 22, 2011 6:29 pm
by admin
No, the given comment is correct. include directive causes inclusion at translation time while include action causes inclusion at request processing time.

HTH,
Paul

Re: About Question enthuware.jwpv6.2.701 :

Posted: Mon Apr 22, 2013 1:50 pm
by sebastien
Hello,
for option 3, the explanation do not sounds ok from my point of view

"Illegal because it does not end with /."
it is also because <jsp:directive include="notice.html"> is not a correct way to add a directive, as in proposition 2 it should be directive.include

Correct me if I'm wrong

Seb

Re: About Question enthuware.jwpv6.2.701 :

Posted: Tue Apr 23, 2013 7:35 pm
by admin
You are right. That is also a reason.
-Paul.

Re: About Question enthuware.jwpv6.2.701 :

Posted: Tue Jul 09, 2013 12:29 pm
by basamajoe
Option 4 is incorrect because the attribute file doesn't exists in <jsp:include>, the mandatory attribute must be page.

Besides, the inclusion is at request time.

Joe