aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes EL Mock Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "EL Mock Question" Watch "EL Mock Question" New topic
Author

EL Mock Question

PRavi kumar
Ranch Hand

Joined: May 13, 2007
Posts: 69
HI,

Which of the following can be used to configure the JSP container to ignore EL expressions?
A <%@ page isELIgnored="true" %>
B <%@ page isELIgnored="false" %>
C <%@ import isELIgnored="false" %>
D None of the above.

I think answer is A. But my mock exams show answer id D. Kindly explain which one is correct.

Regards,
Ravi.
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9426
    
    2

Even I'd say the answer to be A. I guess your mock exam is wrong. Which one is that?


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
PRavi kumar
Ranch Hand

Joined: May 13, 2007
Posts: 69
http://www.javacertificate.net/
Jayant Raj
Ranch Hand

Joined: Mar 11, 2004
Posts: 42
configure the JSP container to ignore EL expressions


The question is how the JSP container can be configured to ignore EL expressions which I would read as "Ignore EL expressions application wide".

EL evaluation is enabled by default.

Evaluation of EL expressions can be ignored application wide by configuring it in the deployment descriptor :


However, you can override this behaviour in specific JSPs by using isELIgnored = "false" in the page directive.


regards,<br />Jayant Raj<br /> <br />SCJP 1.4 [98%]<br />SCWCD 1.4 [91%]<br />SCBCD [In Progress]
Jayant Raj
Ranch Hand

Joined: Mar 11, 2004
Posts: 42
Hence, the answer should be D.
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9426
    
    2

Very good catch....Jayanth. Configure the jsp container meant to configure the DD. Gotcha!!!
PRavi kumar
Ranch Hand

Joined: May 13, 2007
Posts: 69
Thanks a lot of exlanation.

In real exam we will get the questions like this?. If yes I need to be certified in my English.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EL Mock Question