Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

have to Print my jsp without viewing it on a button click

  Asked By: Dale    Date: Mar 20    Category: Java    Views: 1431
  

On clicking print button I have to print my jsp page(target) in a printer
without viewing it. how do i do that?pl help me in this regard.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Brendan Smith     Answered On: Mar 20

<style type="text/css" media="print">
.noPrinting {
display: none;
}

</style>
.... <input class="minibot noPrinting" <----that is
the class of your button  

 
Didn't find what you were looking for? Find more on have to Print my jsp without viewing it on a button click Or get search suggestion and latest updates.




Tagged: