what is the difference between ServletContext and
ServletConfig?

Answer Posted / sunil kumar- vizag

Servlet Context: Servlet Context defines a set of methods
that a servlet uses to communicate with its servlet container.

Servlet Config: A servlet configuration object used by a
servlet container passes information to a servlet during
initialization.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you know about validation plugin ?

516


How nested beans can be used in Struts applications?

552


How struts2 supports internationalization?

655


Which class is the Front Controller in Struts2?

547


What are the different kinds of actions in struts?

557






What are the main classes which are used in struts application?

503


What is struts framework in java?

535


What is request processor and how does it relates to action mapping?

585


How you will display validation fail errors on jsp page?

546


What are inner class and anonymous class?

549


How do you find the struts version being used in a project?

519


How can we write our own interceptor and map it for action?

573


What are the core classes of struts?

574


What types of validations are available in xml based validation in struts2?

554


How long do struts last?

531