Hmm...
Looks like you got yourself a null pointer mate!
;-)

-----Original Message-----
From: Anand Stephen [mailto:[EMAIL PROTECTED]
Sent: Thursday, 5 February 2004 13:48
To: Struts-User
Subject: Basic Tiles question!



Any idea what would cause this exception?


 


 


500 Servlet Exception

java.lang.NullPointerException
      at
org.apache.struts.taglib.tiles.InsertTag.processName(InsertTag.java:528)
      at
org.apache.struts.taglib.tiles.InsertTag.createTagHandler(InsertTag.java
:487)
      at
org.apache.struts.taglib.tiles.InsertTag.doStartTag(InsertTag.java:445)
 
 
thank you,
-- a
 
 
---------    tiles-def.xml      --------
 
 
<?xml version="1.0" encoding="UTF-8"?>
<!--
 
-->
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd";>
<tiles-definitions>
    <definition name="mainlayout" page="/site/search/tiles/text_1.jsp">
        <put name="content" value="/site/search/tiles/text.jsp"/>
    </definition>
</tiles-definitions>
 
--- end tiles-def.xml ------
--- Struts-config.xml -----
    <plug-in className="org.apache.struts.tiles.TilesPlugin" >
        <set-property property="definitions-config"
                    value="/WEB-INF/tiles-def.xml l" />
        <set-property property="moduleAware" value="true" />
        <set-property property="definitions-debug" value="1"/>
        <set-property property="definitions-parser-validate"
value="true" />
  </plug-in>
 
--- end struts config ------
----     the jsp ----
 
 
<%@ taglib uri="/WEB-INF/tlds/tiles.tld" prefix="tiles" %>
<html>
    <head>
        <title>
          testing.....
        </title>
 
    </head>
<body>
<tiles:get name="content"/>
</body>
</html>
 
------ end jsp -------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to