Is there any differance b/w getting servlet context from
servlet config and session? if yes then what is that?

Answer Posted / koti

servlet context:servletcontext is only one web web
application object
servlet config: servlet config is multiple object in
webapplication

Is This Answer Correct ?    9 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by cgi and what are its drawbacks?

535


How to handle exceptions thrown by application with another servlet?

620


What is a java servlet?

562


What is servlet looping or chaining?

667


What is load-on-startup in servlet?

594






What is session tracking?

703


What is servlet and its life cycle?

576


What is the difference between the include() and forward() methods?

579


What is the difference between 2 types of servlets?

653


What are the different methods involved in generic servlet?

566


If a servlet is not properly initialized, what exception may be thrown?

633


Which httpsession object is used to view and manipulate information about a session?

738


What is difference between cookies and httpsession?

552


What are the servlet events?

600


Which are the different ways you can communicate between servlets?

536