This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
26.Which of the following are true regarding the parameters defined using the <context-param> element of a deployment descriptor?
Select 2 correct options. A.They are thread safe. B.They are accessible from multiple threads simultaneously and from any servlet of the web application. C.They can be modified using the setAttribute() method. D.They can be modified using the setParameter() method. E.They can be modified using the setInitParameter() method.
ANS : A,B
I think option A is incorrect, as the context parameters are never thread safe. Any thoughts on this problem would be appreciated.