asked in JSP by (58.6k points)

1 Answer

jsp-config element is used to configure different parameters for JSP pages. Some of it’s usage are:

  • Configuring tag libraries for the web application like below.
    <jsp-config>
    		<taglib>
    			<taglib-uri>https://journaldev.com/jsp/tlds/mytags</taglib-uri>
    			<taglib-location>/WEB-INF/numberformatter.tld</taglib-location>
    		</taglib>
    </jsp-config>
  • We can control scripting elements in JSP pages.
  • We can control JSP Expression Language (EL) evaluation in JSP pages.
  • We can define the page encoding for URL pattern.
  • To define the buffer size to be used in JSP page out object.
  • To denote that the group of resources that match the URL pattern are JSP documents, and thus must be interpreted as XML documents.
answered by (58.6k points)

Java Interview Questions and Answers 2018

>
...