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.
Given the following code, which of the following statements is required at line 9 to write the name of the servletand the command to the log file?
Answer 1 is correct. The log methods declared in javax.servlet.GenericServlet write the specified message to a servlet log file, prepended by the servlet's name.
Answers 2 and 4 are incorrect because the log methods declared in javax.servlet.ServletContext only write the specified message to a servlet log file. Answer 3 is incorrect because there are no log methods declared in javax.servlet.ServletConfig
??? this is from j2eecertificate.com !
SCJP 1.4 - 95% [ My Story ] - SCWCD 1.4 - 91% [ My Story ] Performance is a compulsion, not a option, if my existence is to be justified.