I am
testing to fire a struts2 action from tiles definition (tiles-defs.xml). The action was fired, but it goes to infinite loop and can't stop. I notice it by adding a breakpoint in execute() method of ToHeaderAction.java, in debug mode. I think there is something wrong in web.xml but I don't know what is. Does anyboby help me to figure it out? thanks in advance.
I use
Struts 2.1, tiles 2,
tomcat 6, following jar files in the lib folder
struts-core-1.3.10.jar
struts2-core.2.1.6.jar
struts-tiles-plugin-2.0.11.1.jar
tiles-api-2.0.6.jar
tiles-core-2.0.6.jar
tiles-jsp-2.0.6.jar
below is the code.
web.xml
-----------
Struts xml
-------------
tiles-defs.xml
---------
index.jsp
------------
standard-layout.jsp
-------
siteHeaderTile.jsp
--------------
ToHeaderAction.java
---------------
MainPageAction.java