• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

How to print a Specific tile ?

Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using tiles concept in my jsp. I am constructing my JSP with

1. Left Menu Tile
2. Header Tile
3. Footer Tile
4. Body Tile

My requirement is i need to give an option to print only my Body tile . Is there any option so that i can achieve it.

I am using Spring MVC Architecture.

Thanks in advance
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What you probably want to do is provide a separate view just for printing. This view would not have the elements that you don't want printed, so in this case it would probably just contain the "body". Provide a link on the page you want printed to a "Print" action. This action will do whatever logic you may need to do and then forward to the "printable" view.
Whose rules are you playing by? This tiny ad doesn't respect those rules:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic