• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Doubts in EL and Include

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I have 2 Queries.
1. In HFSJ(page no:395), its written that EL is null friendly. It handles unknown or null values so that the page still displays, even if it can't find an attribute/property/key.

But in Q-17(page no:432, mock questions), one of the correct options is C.
C is incorrect rt ?
It should not throw any exception, i.e if the property does not exist, it should display nothing.
Even in Q-19(page no:429) the output for ${param.middlename} displays nothing, as middlename does not exist.

Plz correct me if Iam wrong.

2. In HFSJ(page no: 415, include review), according to 5th point:
Either mechanism can include dynamic elements (JSP code with EL expressions, for example) as well as static HTML pages.

But in Q-12(page no:430), the correct option is only C. It should be both A and C rt ?

rgds,
Sharath
 
Sharath
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hii all,
Can someone tell me the solution for the above two problems plzzz ??
 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi sharath
 
Bhavna Jharbade
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi sharath

1.its an error in the book option c) is not the correct anser to ques 17 of pg no 432(only a is correct)
 
Sharath
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi bhavna,
Thnx for tht correction. Wht about tht Q-12(page no:430) ?
 
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Can you put full question here ?

Thanks
 
Let's get him boys! We'll make him read this tiny ad!
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic