How to maintain security in servlets?

Answer Posted / ravikiran(aptech mumbai)

By Adding a tag known as <security-constraint> in web.xml

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain in brief the directory structure of a web application?

564


What are the exceptions thrown by servlets? Why?

618


Which exception is thrown if the servlet is not initialized properly?

582


What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?

612


How we can create war file in servlet?

653






What is a servlet?

606


What is the dispatcher servlet?

507


What do you mean by httpservlet and how it is different from the genericservlet?

534


Which java framework is most popular?

574


What is the difference between the http servlet and generic servlet?

597


Is it possible to have a constructor inside the servlet?

550


What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?

608


Explain the architechure of a servlet?

596


What are the differences between the servletconfig interface and the servletcontext interface?

574


What is servlet mapping?

590