Forums Register Login

Head First Servlets & JSP ...

+Pie Number of slices to send: Send
Hi all,..

Firstly this is a great book
I know that many have this book...

I have a question regarding Question 6, page 330(mock exam) and in the answers it said 'E' as correct answer but i thought 'D' was the correct answer.

Any explaination(s)??
Thanks for your help
+Pie Number of slices to send: Send
Jack,
Not all of us have read the book.
Maybe you could share the question and possible answers with us?
+Pie Number of slices to send: Send
OK... i guess this is reg JSP 2.0 specs.

Given:



what is the effect?

A. Nothing, this page directive is not defined

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

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

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 the DD declares a
<el-ignored> true </el-ignored> element with a URL pattern that includes this JSP.

Ben, ohh! i have leaked the answer before, in my first post

plz give your opinion(s)..
Thanks

PS: hope there are NO typos
+Pie Number of slices to send: Send
JSP 3.3.2 (specifically Table JSP.3-1 EL Evaluation Settings for JSP Pages)
States that if that directive is set to true, it doesn't matter what's in the deployment descriptor, so I would say you are right.


Whenever you're in doubt, check the specs (the link is in my signature).
+Pie Number of slices to send: Send
Thanks Ben

I never had the habit of looking at specifications.. but anyway better late than never.

So, i am correct

maybe i'll call up kathy and talk to her about this..
juss kiddin..
Rototillers convert rich soil into dirt. Please note that this tiny ad is not a rototiller:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 778 times.
Similar Threads
Head First Servlets and JSP:SCWCD Question
chapter 10 question number 11 k&b book (on jar files)
body-content version conflict !!! (***doubt)
HFEJB Question
Which of the following statements are correct regarding tag libraries?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 15, 2024 23:33:45.