keinloffel
Programmer
I am building an application using Struts with Tiles and and a generic page is like:
------------------------------------------
TopNav
------------------------------------------
|
|
|
LeftNav | Body
|
|
|
------------------------------------------
BottomNav
------------------------------------------
I am tryint to put in a Print Page Link in the LeftNav, which will show a printer friendly version of the Page which is basically the text of the body page.
So I wanted to make one printpage.jsp which would accept some parameter and make a page with the corresponding body.
i.e. Just one print page
Any suggestions on how to do this?
Some sites, like java.sun.com do this by pulling out the url using javascript and then doing something with it?
How should i do this, considering that I'm using tiles and definitions?
------------------------------------------
TopNav
------------------------------------------
|
|
|
LeftNav | Body
|
|
|
------------------------------------------
BottomNav
------------------------------------------
I am tryint to put in a Print Page Link in the LeftNav, which will show a printer friendly version of the Page which is basically the text of the body page.
So I wanted to make one printpage.jsp which would accept some parameter and make a page with the corresponding body.
i.e. Just one print page
Any suggestions on how to do this?
Some sites, like java.sun.com do this by pulling out the url using javascript and then doing something with it?
How should i do this, considering that I'm using tiles and definitions?