I get quite frustrated with a Tiles problem. After dealing with it for a few of days, I can't figure out the cause of this null expection.
In my Tiles definition XML file, I have <definition name="news" page="/WEB-INF/jsp/news/news.jsp" controllerClass="com.xxx.NewsComponentController"> <put name="size" value="10"/> <put name="sourceName" value="CHANGE-ME"/> </definition> <definition name="news.gb.fashion" extends="news.gb.headlines"> <put name="title" value="Fashion News"/> <put name="content" value="content.gb.fashion" type="definition"/> <put name="menu" value="/WEB-INF/jsp/news/gb/fashion/menu.jsp" type="page"/> </definition> <definition name="content.gb.fashion" page="/WEB-INF/jsp/news/content1.jsp" > <put name="newsOne" value="xinhuaFashion" type="definition"/> </definition> <definition name="xFashion" extends="news"> <put name="sourceName" value="xFashion"/> </definition> and the content1.jsp file is as: <%@ taglib prefix="tiles" uri="http://jakarta.apache.org/struts/tags-tiles" %> <tiles:insert name="newsOne"/> and in cases, I get this expection: ERROR org.apache.struts.taglib.tiles.InsertTag.doEndTag:920 - ServletException in '/WEB-INF/jsp/news/content1.jsp': ServletException in '/WEB-INF/jsp/news/news.jsp': null javax.servlet.ServletException: ServletException in '/WEB-INF/jsp/news/news.jsp': null at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848) at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781) at org.apache.jsp.WEB_002dINF.jsp.news.content1_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.news.content1_jsp:62) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) ... The value of "xFashion" is valid according to my test. Can someone point out the cause here? The release day is approaching. Thanks for your helps in advance. v. ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]