Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tiles Refresh!!!

 
Prateek Sharma
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I developed an application in struts 2.0 I am using tiles for designing pages. Here is my layout.jsp.



But the problem in this approach is my whole page refreshes every time. I dont want to refresh Header, Slidemenu and footer every time, I want to refresh my page's Body part only. Please tell me what is the best approach to do it because My whole application has been developed now and I dont want to change my internal code.


Prateek
.
 
Lorand Komaromi
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prateek Sharma wrote:I dont want to refresh Header, Slidemenu and footer every time, I want to refresh my page's Body part only.


Don't you want to refresh the title of the page..?
 
Prateek Sharma
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NO I didnt want to refresh title as well!!!
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you only want to refresh part of your page, Ajax is the solution.

Normally you'd test these kinds of things *before* you were done.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic