File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Tiles Refresh!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Tiles Refresh!!!" Watch "Tiles Refresh!!!" New topic
Author

Tiles Refresh!!!

Prateek Sharma
Greenhorn

Joined: Jul 20, 2008
Posts: 23
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

Joined: Oct 08, 2009
Posts: 276
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..?


OCJP 6 (93%)
Prateek Sharma
Greenhorn

Joined: Jul 20, 2008
Posts: 23
NO I didnt want to refresh title as well!!!
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tiles Refresh!!!