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.
Hi All, Please help me out with this question: What happens if you set a Web application-wide parameter through ServletContext, but don't provide a value? A) This cannot happen. B) An exception will be thrown. C) Retrieving this parameter will return a string containing a servlet container version number. D) Retrieving this parameter will return a string containing a servlet container name Right answers are C & D.
I have tried this by not giving any value for <param-value> of <context-param> element. But I get blank I dont get the output that should be given as per this question. Probably I have not understood the question properly. Can anyone help me out with this?