Register Login
Internet / AI Technology University (ITU/AITU)
Created by info@itofthefuture.com
Welcome Anonimous.User to this quiz related to Test JSP and Servlets.

Read the question and choose correct answers. Time is limited to 40 seconds!

Important! Do not forget to rank the quality of the question (from bad to excellent).
An initiator of the quiz will get royalty score for QnAs created by her/him and can win the Top Creativity Prize.
Question:
Web applications usually need some initialization procedures that must be performed once and only once. Select best approaches related to web initialization procedures

Pass initialization parameters for a web application via the web.xml file.



Pass initialization parameters for a web application in a single Java source that extends java.util.Properties class.
Read initialization parameters using methods of the Hashtable, Properties, and your extended class.

Read initialization parameters using



Provide initialization procedures for a web application in the contextInitialized() method of
your implementation of the ServletContextListener interface.
Read initialization parameters using getServletContext().getInitParameter() methods.



Provide initialization procedures for a web application in a Struts login action.



Provide initialization procedures for a web application in the service() method of the first servlet invoked by the application.



Pass initialization parameters for a web application via one or more configuration files with the .conf extension.
Read initialization parameters by parsing configuration files with regular expressions methods.



Rank the Quality of the Question from "-10" (bad) or "0" (not clear) to 10 (correct) or even 20 (very good!)
-10 (bad/wrong) 0 (not clear) 10 (correct) 20 (very good!)
Your summary report will be available to you and your instructor. Thank you for your work!!!