Struts-Tiles problem: execute action twice
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Pablo_Lucero
Posted On:   Tuesday, June 28, 2005 04:39 PM

Hello.

Have un problem with tiles when execute a action.

The use of tiles:definition causes that they execute same action twice.

Have a default layout with several

And a template what define a

Soon have several jsp with:















This causes that the action with which is arrived at this jsp executes twice.

If somebody knows the reason this problem from already thank you very much.

Pablo

Re: Struts-Tiles problem: execute action twice

Posted By:   Aarun_Jones  
Posted On:   Friday, July 1, 2005 02:58 AM

We've used tiles-defs.xml with a hierarchy as follows, and it always works.



default part goes here





extended part goes here




Now, in your action if you point your input="extend", it will show properly.

Check out some basic usage on how to do it with tiles-defs.xml.

About | Sitemap | Contact