Servlet Context parameters are application wide parameter (such as global variables) accessible through out web application, any servlet or Jsp page can access these parameters, and there is only one copy of such parameters per web app. These parameters are to be configured in web.xml file in java web application.
Servlet config parameters are specific to the servlet for which is declared, it is local for that servlet. These parameters are private to each servlet. These parameters are also configured in web.xml (inside servlet tag).
Follow me @
#ServletContext #servletconfig #servlet #eclipse #apachetomcat #jdk #java #AdvanceJava #configparam #contextparam #Gujarati #RaviROza
No comments:
Post a Comment