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

Why is action servlet a singleton in struts?

592


how to get the last 10 elements using logic:iterate in struts with hiernate from database.

4042


How to build struts application in eclipse?

529


What’s the difference between struts and turbine? What’s the difference between struts and espresso?

528


Can you explain aware interfaces in struts2?

591






How properties of a form are validated in Struts?

570


Describe the two types of formbeans.

581


What is actioninvocation?

544


What is the difference between session scope and request scope when saving formbean ?

558


what is meant by Struts Validator Framework?

567


What is apache struts cve 2017 5638?

550


how to connect from struts to database through hibernet and where u can modify the class

2118


How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?

631


Can we have multiple struts config files in a single web app?

503


How to get data from the velocity page in a action class?

569