To use the taglib in a JSP, you have to declare it first:
<%@ taglib uri="https://github.com/d8bitr/packtag" prefix="pack" %>
(You can still use the old uri 'http://packtag.sf.net' for backward compatibility)
Accordingly for Cascading Style Sheets:
You can enable and disable each tag individually by setting the attribute enabled to false, e.g.:
You can combine resources simply by listing them up:
If you want to deepen your knowledge and learn about advanced techniques, I suggest reading "pack:tag - a packed guide to website performance optimization".
Add the maven dependency to your project:
<dependency> <groupId>de.galan.packtag</groupId> <artifactId>packtag-core</artifactId> <version>3.13.2</version> </dependency>
<servlet-mapping>from the web.xml into your /WEB-INF/web.xml
pack:tag is still supported, and still encouraged to be used if it makes sense for your project. But, no further development beyond bug fixes is expected. pack:tag is over 8 years old, and has been stable since then. Thank you to the community for your support of this project over the last years.