This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
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

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
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!