Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: NullPointerException in TilesException using Tiles with Struts 2

Aram Mkhitaryan

2007-03-07

Replies:

Hi,

Yesterday I got the same problem,
and here is the solution:

Use new version of tiles: 2.0
for tiles.xml:
<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles
Configuration 2.0//EN" "http://struts.apache.org/dtds/tiles-config_2_0.dtd">

for jsps:
<%@(protected)" %>

tags are a little bit changed but it's easy to upgrade

for more details: http://tiles.apache.org/

Best regards,
Aram
©2008 junlu.com - Jax Systems, LLC, U.S.A.