The other piece is to use CSS and apply a different stylesheet for display and for printing.
On Thu, Dec 05, 2002 at 10:12:25AM -0500, Aaron Johnson wrote: > Hi Raju, > > > Anyone can throw some light on how to create printer > > friendly pages (using jsp) and the steps invovled in > > it ? > -- Typically I'll include a header and footer jsp into every page. If > you do that, it's relatively simple to embed some display logic in the > header and footer that looks for a specific url string (ie: > /page.jsp?printerfriendly=true), and then *doesnt'* display the > navigation/advertisments/other non printer friendly stuff. Make sense? > > AJ > > > -- > Aaron Johnson > http://cephas.net/blog/ > [EMAIL PROTECTED] > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > -- Dror Matalon Zapatec Inc 1700 MLK Way Berkeley, CA 94709 http://www.zapatec.com ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html