Can the taglib tag library url address in jsp be remote? Can it be local, too? What's the difference?

for example: can the taglib tag library url address in
jsp be remote? Can it be local, too? What"s the difference?

Feb.27,2021

for jsp taglib url represents a namespace, to prevent the same tag signature, you can access others have been encapsulated. You can also go to encapsulate a label yourself.


I already understand. This is the dependency package, which can be downloaded to the pom file using maven. You need to add it manually, so you don't have to download it yourself, it's maven. Then the url address, which can be either remote or local, needs to have a custom tld file. If you delete the tld file, it won't run even if there are dependencies in pom. The remote address. As long as you add dependencies to pom, you can use them as you like.

Menu