This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

action executing twice while loading tiles

 
madupathi arun
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 948
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic