what is the difference between ServletContext and
ServletConfig?

Answer Posted / raghu

Servlet Context -> It is one for the web application.
Servlet Config -> It is one for the Servlet.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is struts action class singleton?

552


What is the procedure of operation of a form tag?

555


What do you mean by actionform?

582


Which library is provided by struts for form elements like check boxes, text boxes etc?

508


What's mvc pattern ?

588






When do I need “struts.jar” on my classpath?

543


What are disadvantages of Struts?

554


How to work with error tags?

567


How to convert struts to spring mvc?

536


What is spring hibernate and struts in java?

492


What is Struts2?

626


Why use spring, if you are already using struts?

560


When it’s useful to use IncludeAction?

551


What are the life cycle methods of interceptor?

522


What is the purpose of @results annotation?

718