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.123456
<
jsp-config
>
<
taglib
>
<
taglib-uri
>http://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.
No comments:
Post a Comment