📚 Practice Mode

Java Servlets, JSP and C Programming Quiz

Learn at your own pace with hints and detailed explanations

1 / 20
Multiple Answers

Given the following jsp line select the correct statements: <% public void jspInit() { ...java code...} %>

  1. 1) It is a valid line that can be used to initialize the servlet that implements the jsp file.
  2. 2) It won't compile as no identifer can start with jsp not _jsp.
  3. 3) It will serve as the servlet initialization if the function's name is _jspInit.
  4. 4) There is no way to initialize a jsp's implementation class servlet.