About Question enthuware.jwpv6.2.701 :

Moderator: admin

Post Reply
kathy
Posts: 1
Joined: Tue Nov 22, 2011 7:00 am

About Question enthuware.jwpv6.2.701 :

Post 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 ?

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.701 :

Post 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
If you like our products and services, please help us by posting your review here.

sebastien
Posts: 12
Joined: Tue Mar 26, 2013 2:38 pm
Contact:

Re: About Question enthuware.jwpv6.2.701 :

Post 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

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.701 :

Post by admin »

You are right. That is also a reason.
-Paul.
If you like our products and services, please help us by posting your review here.

basamajoe
Posts: 21
Joined: Fri Apr 26, 2013 3:40 am
Contact:

Re: About Question enthuware.jwpv6.2.701 :

Post 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

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests