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

Tiles problem

rajiv shrestha
Ranch Hand

Joined: Aug 25, 2010
Posts: 30
i have implemented tiles in my project.
i have baseLayout.jsp which contains header, menu, body and footer like below

i have different jsp files that i have loaded in the body part. and it is giving desired output. While clicking options in the menu, it refreshes the whole page including
header, menu, body and footer.

Now i want to refresh only the body part with different required jsp files.
How do i have to refresh only body part?

thank you in advance..
satya pksh

Joined: Jan 17, 2010
Posts: 8
refer the web site webpage

E Robb
Ranch Hand

Joined: Aug 27, 2010
Posts: 111
It sounds like you want to use AJAX to refresh portion of the page without reloading the entire page.

Is that correct ?

You might want to consider css and targeting div's on your layout then whatever is returned in the AJAX post can easily go to innerHTML

I agree. Here's the link:
subject: Tiles problem
It's not a secret anymore!