File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question on HF Page #336

 
Kalai Ganesh
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,

In coffee cram on chapter 7, the answer to question 6 says :

E. This page directive will only turn off EL evaluation if the DD declares a <el-ignored>true</el-ignored>element with a URL pattern that includes this JSP.

as the correct answer. But isn't it supposed to turn off EL for that particular page even if there isn't anything on EL in DD?
I feel the option D is the only right answer.
Can anyone help me with this??

Thanks.
 
Henrik Krievs
Ranch Hand
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi'

Funny - I was just about to post the very same question !

Rgds, Henrik
 
Gabriel Forro
Ranch Hand
Posts: 59
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

have a look at to:
http://www.oreilly.com/catalog/headservletsjsp/errata/

You can find a list of errors in the current print of "Head First Servlets and JSP".
The correct answer is 'D', as You supposed.
 
Kalai Ganesh
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Gabriel.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic