I'd like to make a print button to print my
page.How can i do this with JSP?
Can anyone give me example or or some link?
U can use java.awt.print package
U can use these Classes for Printing.
I think you mean to print from the browser directly - so as not to force the user to click on the print button.
In that case you could use:
<input type="button" value="Print this page" onClick="window.print()">
(Note: This really has nothing to do with JSP)