Hi,
The question below is from Java Beat Mock Exam.
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.
Thanks