Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

page layout using struts template refresh the whole page

 
Janardhan Kotha
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am designing the page layout using struts templates. My template page has divs for each one like header, footer, menu, content, ..etc. When the user clicks on a link i fwd to action forward that use this template keeping header, footer, menu page as is but content would be changed. But the user gets a feeling that the whole page is getting refreshed. Any ideas are highly appreciated.

Thanks,
Janardhan.
 
Ratheesh Narayanan
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This can be achieved only through Ajax.
(I am writing an add-on framework to Struts-Tiles framework, which loads the tile content with the help of Ajax)
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!