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 are the life cycle methods of the servlet?

812


What is the advantage of Servlets when compared with other server side technologies?

2078


What is getservletcontext?

725


What is a servlet context object?

870


Which application server is best for java?

769


What if you need to span your transaction across multiple servlet invocations?

802


If servlet receives multiple requests, how many objects will it create?

1072


Explain the servlet filter.

723


Explain web application directory arrangement?

788


How the JSP file will be executed on the Server side?

877


What is the use of httpservletresponsewrapper?

711


Why servlet is used as controller ? Not JSP? I want complete explation?

883


What's the difference between servlets and applets?

762


How can we invoke another servlet in a different application?

924


Explain how to improve Servlet Performance?

826