what is the difference between ServletContext and
ServletConfig?
Answer Posted / durairaj
ServletContext represents the unique configuration of particular webapplication in the WebContainer.The parameters set in the ServletContext can be retrieved universally in the particular webapplication
ServletConfig represents the unique configuration of a particular Servlet in the Webapplication.The parameters set in the ServletConfig can be retrieved universally in the particular Servlet class only(not outside)
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the apache struts vulnerability?
How to display validation errors on jsp page?
Do we need to pay the struts if being used in commercial purpose?
Explain about the process of functioning of the struts program?
How to convert struts to spring mvc?
How is forward action used for integration?
What are the core classes of struts framework? Explain
State an example of struts configuration file as an action parameter for action servlet.
How you will make available any message resources definitions file to the struts framework environment?
Which file is used by controller to get mapping information for request routing?
What applications use apache struts?
What is ValueStack and OGNL?
What is the purpose of @results annotation?
What's mvc pattern ?
What's the purpose of execute method of action class?