• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubts in EL and Include

 
Sharath
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Hii all,
Can someone tell me the solution for the above two problems plzzz ??
 
Bhavna Jharbade
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi sharath
 
Bhavna Jharbade
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Hi bhavna,
Thnx for tht correction. Wht about tht Q-12(page no:430) ?
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can you put full question here ?

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic