In your JSP it looks like you're doing two inserts, one for attribute
"linktag" and one for attribute "content" but you don't seem to have a
definition with both of those attributes.
----- Original Message -----
From: "Jackson, Stephen" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, February 04, 2003 2:56 PM
Subject: RE: Tiles setup help!


> Thanks for your reply.
>
> I changed the name(rpcinterface.default)...I am fishing for any hint as to
> what is happening.
>
> <tiles:insert name="rpclayout">
>   <tiles:put name="linktag" value="../html/indexlinkref.html" />
>   <tiles:put name="content" value="../html/intro.html"/>
> </tiles:insert>
>
> -----Original Message-----
> From: Max Kremer [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 04, 2003 2:43 PM
> To: Struts Users Mailing List
> Subject: Re: Tiles setup help!
>
>
> How are you doing your tiles:insert ?
>
> ----- Original Message -----
> From: "Jackson, Stephen" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List (E-mail)" <[EMAIL PROTECTED]>
> Sent: Tuesday, February 04, 2003 1:42 PM
> Subject: Tiles setup help!
>
>
> > I am trying to get tiles set up and having lots of issues trying to do
so.
> > (Struts 1.1b3 & tomcat 4.1.12)
> >
> > My tiles-defs.xml file looks like the following
> ***************************
> > <tiles-definitions>
> > <!-- The default layout for the web interface -->
> > <definition name="rpcinterface.default"
> > path="/layouts/RpcInterfaceLayout.jsp">
> > <put name="header" value="/html/header.html"/>
> > <put name="leftnav" value="/jsp/LeftNav.jsp"/>
> > <put name="footer" value="/html/footer.html"/>
> > </definition>
> >
> > <!-- The wait page layout for requests -->
> > <definition name="wait.default" path="/layouts/WaitPageLayout.jsp">
> > <put name="linktag" value="/html/indexlinkref.html" />
> > <put name="header" value="/html/header.html"/>
> > <put name="footer" value="/html/footer.html"/>
> > </definition>
> >
> > </tiles-definitions>
> >
> > Tiles info in struts.config.xml **********************
> > <!-- Tiles PlugIn definition-->
> > <plug-in className="org.apache.struts.tiles.TilesPlugin">
> > <set-property property="definitions-config"
> > value="/WEB-INF/conf/tiles-defs.xml"/>
> >   <set-property property="definitions-parser-validate"
> > value="true"/>
> >   <set-property property="definitions-parser-details"
> > value="2"/>
> >   <set-property property="definitions-debug" value="2"/>
> > </plug-in>
> >
> > I have a log4j.properties in WEB-INF/classes and it has the following
info
> > log4j.category.org.apache.struts.tiles=DEBUG
> >
> > I am not getting any output from log4j.
> > What would the file be called and where would it reside if it was there?
> >
> >
> > ***** jsp error
> > 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)
> > at
> > org.apache.jsp.index_jsp._jspx_meth_tiles_insert_0(index_jsp.java:78)
> > at org.apache.jsp.index_jsp._jspService(index_jsp.java:57)
> > at
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> >
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
> > 04)
> > at
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
> > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> > FilterChain
> >
> > I was trying to get log4j to tell me something but I don't know what I
am
> > doing wrong to get it set up.
> >
> > Any assistance would be great.
> >
> > Thanks in advance,
> >
> > Stephen Jackson
> >
> >
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > -
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
>
>


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

Reply via email to