File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

action executing twice while loading tiles

 
madupathi arun
Greenhorn
Posts: 23
  • 0
  • 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
  • 0
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic