Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFSJ ch 8 mock qn. 12 and 15

 
chani singh
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Qn 12 :: I think option A should be checked too, since in the Bullet points at the end of ch. it says, either mechanism( include directive or <jsp:include> ) can include dynamic elements.


Qn 15 :: not getting the explanation at all..why C and F will cause errors..?? what abt D and E??

anybody please explain..
Thanks,
Chani.
[ April 24, 2006: Message edited by: chani ]
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by chani:
Qn 12 :: I think option A should be checked too, since in the Bullet points at the end of ch. it says, either mechanism( include directive or <jsp:include> ) can include dynamic elements.

The bullet says you can build a page with reusable components with either one. It does not say both are dynamic. The three bullets that follow explain the concepts of static vs dynamic includes but unfortunately does not use the terms static or dynamic there.

include directive = static (2nd and 3rd bullet on pg 415)
jsp:include = dynamic (4th bullet on pg 415)



Qn 15 :: not getting the explanation at all..why C and F will cause errors..?? what abt D and E??

The defective part of C and F is the .a - a List isn't allowed to look stuff up this way. A Map, however, is allowed to do this and so D and E are valid.

Hope this helps.

"chani", please help me with one thing by taking a few moments to read the Javaranch naming policy. Basically your display name needs to be 2 words in addition to being believable - you are already halfway there!

After reading the policy, you can change your displayed name here. Welcome to the Ranch.
 
chani singh
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Marc..
I've edited the profile.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic