What is the difference between servlet config and servlet
context.

Answer Posted / m.sridharreddy

Servlet context is a context for all servlets under the web
application.in the web application there is only one
context.and all the servlets communicate each other through
context and it uses context parameters
In the web application each servlet have one servlet config
object it uses init parameters.

Is This Answer Correct ?    41 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the drawbacks of cgi?

576


What are the phases of servlet life cycle?

611


What is getservletcontext?

554


what is multiple server?

1764


Why are http servlets used in programming?

552






What is the GenericServlet class?

606


What is the procedure of invoking different servlet in a different application?

567


What is difference between GenericServlet and HttpServlet?

571


What is servlet and its life cycle?

574


What are the benefits of using servlet over cgi?

584


How do you design microservices?

627


How do servlets work?

538


What is servlet and its advantages?

529


Explain the steps involved in placing a servlet within a package?

573


Explain in brief the directory structure of a web application?

576