When we create plugins by using Maven, in the view.jsp default page we'll get an error about taglib we use.
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
It says it can't find the uri, then I add jstl.jar into my project and in the pom.xml I define the dependency. Then it works.
Today when I look at the web.xml in ROOT folder in tomcate/webapps. It also defines the taglib in the web.xml. I think that's the reason we don't need to define in our own project again.
<jsp-config>
<taglib>
<taglib-uri>http://displaytag.sf.net</taglib-uri>
<taglib-location>/WEB-INF/tld/displaytag.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/tld/c.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/tld/fmt.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/functions</taglib-uri>
<taglib-location>/WEB-INF/tld/fn.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/sql</taglib-uri>
<taglib-location>/WEB-INF/tld/sql.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/xml</taglib-uri>
<taglib-location>/WEB-INF/tld/x.tld</taglib-location>
</taglib>
....
My question is do you need to define aui, liferay-ui again in our project's web.xml. Because I also see that in the web.xml of Liferay. Test it later...