This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Which is the most efficent JspContext method to call access an attribute that is known to be in application scope a)getPageContext() b)getAttribute(String) c)findAttribute(String) d)getAttribute(String,int) e)getAttributesScope(String) f)getAttributeNamesInScope(int) answer is d.. but in the explanation of answer it was given "option F is invalid because no such method exists" but it is there in JspContext class...Am i correct??
yes, explanation is wrong in HFSJ. There should be some forum for author to post these types of errors, so that they can take preventive action on next printing edition. I have been finding errors in this book.
SCJA, SCJP, SCWCD, SCBCD, SCDJWS.
Joined: Mar 26, 2005
i think they will do. i am expecting Head First EJB new edition , but according to Berts,said that might take about 8 / 9 / even one year to complete the new version..
good luck to all for HFSJ, i will give my test soon...