check out the java print classes, there is even a tutorial on the java web site
-----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of lee hwaying Sent: Thursday, January 23, 2003 3:33 AM To: [EMAIL PROTECTED] Subject: how to create header footer while printing from jsp or java script. does anyone know how to format a webpage to print on A4 with header and footer using javascript? >From: Luis Cornide Arce <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and >reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Other users session invalidation >Date: Thu, 23 Jan 2003 10:37:01 +0100 > >Hi all, > >I an implementing a web application in which, among other things, the >app. administrator has a web interface to list all the active sessions >and invalidate any of them. Now, I mantain a data estructure to save all >the active sessions, my first question is if these is necesary or there >is any method to obtain all the active sessions. >My second question is how to invalidate the sessions, I mean, I know the >method invalidateSession, but can I store in my data structure the >pageContext to later obtain the session and invalidate it? is correct? >I hope that I had explain my problem correctly. >Thanks in advance, > >Luis > >=========================================================================== >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff >JSP-INTEREST". >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST >DIGEST". > >Some relevant archives, FAQs and Forums on JSPs can be found at: > > http://java.sun.com/products/jsp > http://archives.java.sun.com/jsp-interest.html > http://forums.java.sun.com > http://www.jspinsider.com _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com