help me out of dis problem...pleaseeeeee....JSP print...

Hi everybody.....

My problem is, I have an report that is a simple JSP page, and I want to print that, as far now I m printing that page from going on file menu and then clicking print , but when it prints a link at the below comes, which i dont want to get printed, how to resolve that link from printing, I have used javascript window.print() also, but that too didnt help me out, please can any body will provide me a solution such that i can print that page without that link, thanks a milllion in advance...

Thanks & Regards,

Nitin Vats

[570 byte] By [nitin.vatsa] at [2007-11-27 5:04:20]
# 1

Use the CSS 'media' property. You can speficy a separate stylesheet in the head for media="print". Or you can add an @media declaration to the default stylesheet where you can define style changes when the print is called. Then in there you define something like:.linkAtTheBottom {

display: none;

}

Also see http://www.w3.org/TR/REC-CSS2/media.html

BalusCa at 2007-7-12 10:22:38 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Thanks dear...but since i havent use CSS , can you tell me how to use CSS and where to keep this file, and can you please provide all the necessary information to make that css file work ...thanksssss..
nitin.vatsa at 2007-7-12 10:22:38 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...