Should the comment to solution 2 not be
<jsp:directive.include file="notice.html"/>
This causes inclusion at runtime instead of translation time ?
About Question enthuware.jwpv6.2.701 :
Moderator: admin
-
- Site Admin
- Posts: 10170
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.701 :
No, the given comment is correct. include directive causes inclusion at translation time while include action causes inclusion at request processing time.
HTH,
Paul
HTH,
Paul
If you like our products and services, please help us by posting your review here.
-
- Posts: 12
- Joined: Tue Mar 26, 2013 2:38 pm
- Contact:
Re: About Question enthuware.jwpv6.2.701 :
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
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
-
- Site Admin
- Posts: 10170
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.701 :
You are right. That is also a reason.
-Paul.
-Paul.
If you like our products and services, please help us by posting your review here.
-
- Posts: 21
- Joined: Fri Apr 26, 2013 3:40 am
- Contact:
Re: About Question enthuware.jwpv6.2.701 :
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
Besides, the inclusion is at request time.
Joe
Who is online
Users browsing this forum: No registered users and 2 guests