Hi, Actually I'm wondering how does it work for Tiles1 when 'header' has a null value.It renders the page properly. Whereas in case of tiles2 it throws exception. And it is not null pointer exception.The jsp page is not rendered. Caused by: javax.servlet.ServletException: Error importing attributes. Attribute 'header' has a null value.
Antonio Petrelli-3 wrote: > > 2009/7/10 Roshni Basu <[email protected]>: >> >> But in both casestiles1 and tiles2 header value has null value. >> In case of tiles1 it does not throw any exception when this value is >> null. >> Whereas exception occurs in case of tiles2. >> I'm confused. > > If you don't want to throw exceptions, use the ignore="true" in the > <tiles:insertAttribute> tag. > Anyway notice that the NPE is useful to track bugs on your side, so > use it paying attention. > > Antonio > > -- View this message in context: http://www.nabble.com/Issue-with-putAttribute-tag-tp24353360p24510545.html Sent from the tiles users mailing list archive at Nabble.com.
