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

Can we override destroy method in servlet?

731


Why servlet is mostly used?

973


What is http servlet? Explain with the help of an example.

816


What are the phases of the servlet life cycle?

823


What is URL Encoding?

868


How do you invoke a Servlet? What is the difference between doPost method and doGet method?

866


Describe servlet?

788


Explain the different ways for servlet authentication?

798


What’s the difference between forward() and sendredirect() methods?

804


Explain the custom jsp tags and the beans.

806


Differentiate between the get and post method

816


What is servlet api used for conneting database?

962


Difference between doget and dopost?

923


How do you get the ip address of the client in servlet?

764


What are the important functions of filters?

828