Steve Duran ha scritto:
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<html>
<head>
<title>FooBar</title>
</head>
<body>
<tiles:insert attribute="foo"/>
</body>
</html>
Here's my tiles-defs.xml:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 1.3//EN"
"http://struts.apache.org/dtds/tiles-config_1_3.dtd">
<tiles-definitions>
<definition name="foo" path="/bar.jsp" >
</definition>
</tiles-definitions>
...
root cause
java.lang.NullPointerException
org.apache.struts.tiles.taglib.InsertTag.processAttribute(InsertTag.java
:687)
There are some missing details. But here I am supposing that "bar.jsp"
is your test JSP page and "parent.jsp" is the page where you put
<tiles:insert definition="foo" />. If this is not the case please let me
know.
Well, in this case, you forgot to fillup the "foo" attribute in "bar.jsp"
HTH
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]