MCQs > IT & Programming > JSP And Servlets > 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 { }

JSP And Servlets MCQs

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 { }

Answer

Correct Answer: This is an invalid usage of @WebServlet annotations because of the wrongly formed url-pattern value

Explanation:

Note: This Question is unanswered, help us to find answer for this one

JSP And Servlets Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JSP And Servlets Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it