File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "action executing twice while loading tiles   " Watch "action executing twice while loading tiles   " New topic

action executing twice while loading tiles

madupathi arun

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

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


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:
subject: action executing twice while loading tiles
Similar Threads
Struts-Tiles Reloading Problem
URGENT::::::::Problem with Struts and Tiles
Tiles with runtime attributes - response already commited
[TILES] How to include an action as body in a definition [SOLVED]
Populating a Dropdown Box