This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes action executing twice while loading tiles   Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "action executing twice while loading tiles   " Watch "action executing twice while loading tiles   " New topic
Author

action executing twice while loading tiles

madupathi arun
Greenhorn

Joined: Feb 25, 2008
Posts: 23
hi
hi
I am arun

I am using tiles-def.xml to load my layout
actuaaly merequest going in following way

jsp-->action--->actionforward-->sucess(layoutpage)

jsp is executing only once
but when the requet reaches action
action is executing twice

can anyone help me onthis
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
I am not sure without more information. I have seen similar behavior when I had a submit button (html:submit) where the onclick also executed code to submit the page. This caused the page to be submitted twice and the action to execute twice.

- Brent
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: action executing twice while loading tiles
 
Similar Threads
Tiles with runtime attributes - response already commited
Struts-Tiles Reloading Problem
Populating a Dropdown Box
URGENT::::::::Problem with Struts and Tiles
[TILES] How to include an action as body in a definition [SOLVED]