Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers
elance-zoho-creator-exam.pdf

Considering the following Servlet code, choose the statement which is true: package com.nullhaus; import javax.servlet.annotation.*; import javax.servlet.http.*; @WebServlet("nullHausServlet") public class NullServlet extends HttpServlet { }

This is valid usage of @WebServlet annotations which creates a Servlet with “nullHausServlet” url-pattern value
This is an invalid usage of @WebServlet annotations because of the wrongly formed url-pattern value
This code doesn’t compile, because NullHausServlet need to implement one of doGet(-), doPost(-), etc. methods
This is valid usage of @WebServlet annotations which creates a Servlet with “nullHausServlet” name
Top
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon