The major difference between Servlet config and Servlet Context' s are:
1. Servlet Config is one per each servlet. Servlet Context is one per Entire application .
2. Servlet Config having local scope respective to Servlet. Servlet Context having application scope.
3. Servlet Config is one per servlet so we can mention initialization parameters in inside <Servlet> tag of web.xml
Servlet Context one per application and it is not related to specific servlet so it is mentioned out side <Servlet> tag.
4. getServletContext() and get ServletConfig() used to get context and config objects.
Subscribe to:
Post Comments (Atom)
Hide Query By Example of PanelCollection on page load
Hi All, If there is a table with filterable is true. If you want to display QueryByExample then surround this table with panelCollection....
-
Hi All, if we want to select multiple values from the list box then we will make use of inbuilt component "af:selectmanychoicebox"...
-
To call java methods from jasper reports. Just Follow the following steps Step1: create a java class with a static method which r...
-
There is an inbuilt feature in ADF table called varStatus variable, which can be used to display a auto increment number for any dummy colu...
No comments:
Post a Comment