File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes JSP help printing form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP help printing form" Watch "JSP help printing form" New topic

JSP help printing form

Nur Suhaylah Ghouse

Joined: Jul 28, 2013
Posts: 2
How do i get this to work?
if the user want receive information and discount vouchers on product, print the form below.
Thanks in advance.

Ivan Jozsef Balazs

Joined: May 22, 2012
Posts: 970
Javascript print
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
What's wrong with having the user invoke the browser's print functionality? With a CSS media type of "print" you can even provide an alternate stylesheet that makes the printout look different than the web page, if that is desirable.
It is sorta covered in the JavaRanch Style Guide.
subject: JSP help printing form
jQuery in Action, 3rd edition