what is the difference between ServletContext and
ServletConfig

Answer Posted / saikiran

the scope of ServletConfig is With in the servlet
ServletContext is with in webApplication.
ServletConfig is an name and value pairs
it consist of
servletName,InitializationParameters,servletContext
ServletContext:
---------------
the application which is being deployed in the
server...

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is httpservlet declared abstract?

582


What is session tracking?

698


Define the life cycle of a servlets.

576


What is difference between PrintWriter and ServletOutputStream?

775


Explain get and post.

649






What are the different methods involved in generic servlet?

558


What is the use of request dispatcher interface?

571


What are the phases of servlet life cycle?

611


What is servlet interface?

704


What are session variable in servlets?

568


Can you call a jsp from the servlet?

548


How httpservlet is different from the genericservlet?

568


What are the difference between RMI and Servlets?

1054


Explain the features are in servlet 3?

603


Explain Action Servlet?

625