• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HFSJ mock exam - Chapter 7

 
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I have seen the below mock exam question at the end of chapter 7(Using JSP) in HFSJ book (Q.no.6 & P.no.330).

<%@ page isELIgnored="true" %>

What is the effect?

A.Nothing,this page directive is not defined

B.The directive turns off the evaluation of EL code by the JSP container in all of the web application's JSPs

C.The JSP containing this directive should be treated by the JSP container as a well formed XML file

D.The JSP containing this directive should not have any EL code evaluated by the JSP container

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


Answer given : E

But i feel that option D is correct.can any1 clarify on this?.

Thanks in advance..

Regards,
Priya.
 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you are right! You should read the errata for this book, this is one of the (many) errors corrected there. The URL is easy to found using google!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic