What is the use of TAG libraries in JSP and why do we use it?

I am new to JSP and I came across tag libraries. Please give me a detailed explanation of the tag libraries, where and which application should we use?

Thanks at advancve

+3
source share
2 answers

Tag libraries are used based on your requirement, say when you need more than what EL can do and standard actions. Tag libraries contain custom tags that you can use to suit your needs, and you can even create your own tags (this is a big process and requires you to write Java code that runs when you use your customized tag in JSP) in most cases accessible tags in JSTL would be enough.

, JSP, (java-) jsp, .. script - , , -, java, jsp, Java-, jsp.

'Head First Servlets JSP' .

+3

, JSP. Java , JSP.

- JSP , . ; -, , .

: . , , JSP, . - Java, - XML , , .

- Java , . , JSTL, , .

+1

Source: https://habr.com/ru/post/1719587/


All Articles