This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes page layout using struts template refresh the whole page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "page layout using struts template refresh the whole page" Watch "page layout using struts template refresh the whole page" New topic
Author

page layout using struts template refresh the whole page

Janardhan Kotha
Greenhorn

Joined: Feb 01, 2006
Posts: 14
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

Joined: Oct 30, 2004
Posts: 38
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)


SCJP 1.4 & SCBCD 1.5
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: page layout using struts template refresh the whole page