Very simple example... tried this under standard WAR/Tomcat environment,
and it works fine.
In pax-web, using extended DefaultJspMapping class for JSPs, directory
structure of jar shows index.jsp in the root, and layout.tag in
/WEB-INF/tags. It definitely sees the jsps (with the custom tag, they work
fine)
index.jsp:
<!DOCTYPE html>
<%@taglib prefix="my" tagdir="/WEB-INF/tags"%>
<my:layout>
<jsp:attribute name="body">
<div>
Test
</div>
</jsp:attribute>
</my:layout>
/WEB-INF/tags/layout.tag:
<!DOCTYPE html>
<%@tag description="LayoutTemplate" pageEncoding="UTF-8"%>
<%@attribute name="body" fragment="true" %>
<html>
<body>
<jsp:invoke fragment="body"/>
</body>
</html>
However, when I attempt to load the page:
org.apache.jasper.JasperException: /index.jsp (line: 4, column: 0) No tag
"layout" defined in tag library imported with prefix "my"
Am I missing a directive somewhere?
--
--
------------------
OPS4J - http://www.ops4j.org - [email protected]
---
You received this message because you are subscribed to the Google Groups
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.