Sure. . .have you looked at:

http://cwiki.apache.org/WW/tiles-plugin.html

I'll be updating it shortly to take into account some of the recent changes in the plugin, but this should work in 2.0.1. There are a couple of different options if your using the snapshot.


Also, depending on which tiles-plugin jar you "found", you may be depending on the tiles snapshot. There's been a lot of work on this since the release, and I'm wondering if you're using a snapshot version that is out of sync. I think that if you're using struts 2.0.1, you'll want the tiles 2.0-r468346-SNAPSHOT jar. If you're using struts 2.0.2 or later, you'll want the current tiles snapshot. Both are available here: http://people.apache.org/repo/m2-snapshot-repository/org/apache/struts/tiles/tiles-core/

Let me know if you need more info.


David

Sébastien LABEY wrote:
Hi all,

I've been trying for the past 2 days to configure Struts2 to work with
tiles. In the Struts 2.0.1 release, I found the jar to deal with tiles that
was not included in the Struts2.0.0-SNAPSHOT release (
struts2-tiles-plugin-2.0.1.jar), but in the end I can't resolve this error
that is launched when I try to access a link with result of type "tiles" :
*
java.lang.NullPointerException*

org.apache.struts2.views.tiles.TilesResult.getComponentDefinition(TilesResult.java:162) org.apache.struts2.views.tiles.TilesResult.doExecute(TilesResult.java:116) org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:175) com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:309) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:218) com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:177)
...


Could someone tell me what jars I exactly need to use tiles with struts 2
and the files that I need to configure and how?
Thanks very much in advance.

Sebastien


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

Reply via email to