Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  Tutorial: ASP Content Management A 'Print This Page' Script Using the MS-XMLHTTP object and Regular Expressions Tutorial

This 2-page article describes how to create a Printer Friendly Page using Microsoft's XMLHTTP component along with regular expressions. It shows how to use XMLHTTP to perform an actual HTTP GET request for the page that you wish to display in a Printer Fr

Tutorial Details:

A 'Print This Page' Script Using the MS-XMLHTTP object and Regular Expressions

This article deals with two not-so-commonly discussed topics. The first is using Microsoft's XMLHTTP component to perform an HTTP request. To learn more about how to use XMLHTTP for this purpose, be sure to check out this FAQ .

This article also utilizes regular expressions to remove delimited chunks of text. To learn more about regular expressions be sure to check out the Regular Expressions Article Index .

Many Web sites today offer a "Printer Friendly Page" link somewhere on each Web page. Such a link, when clicked, will normally open up a new window with the main article or context without things like logo's, navigation bars, and any other area's where it is not necessary for the user to print. This Article is about creating such a feature using Microsoft's XMLHTTP object and regular expressions!


 

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
ASP Content Management A 'Print This Page' Script Using the MS-XMLHTTP object and Regular Expressions Tutorial

View Tutorial:
ASP Content Management A 'Print This Page' Script Using the MS-XMLHTTP object and Regular Expressions Tutorial

Related Tutorials:

JavaWorld - Get started with server-side Java - March 1997
JavaWorld - Get started with server-side Java - March 1997
 
Java 2 introduces print capability to the Swing Forum - JavaWorld June 1999
Java 2 introduces print capability to the Swing Forum - JavaWorld June 1999
 
Use Microsoft's Internet Information Server as a Java servlet engine - JavaWorld June 2000
Use Microsoft's Internet Information Server as a Java servlet engine - JavaWorld June 2000
 
JSP templates - JavaWorld September 2000
JSP templates - JavaWorld September 2000
 
Printing in Java, Part 1 - JavaWorld October 2000
Printing in Java, Part 1 - JavaWorld October 2000
 
Printing in Java, Part 2 - JavaWorld December 2000
Printing in Java, Part 2 - JavaWorld December 2000
 
Printing in Java, Part 3 - JavaWorld January 2001
Printing in Java, Part 3 - JavaWorld January 2001
 
Design for performance, Part 1: Interfaces matter - JavaWorld January 2001
Design for performance, Part 1: Interfaces matter - JavaWorld January 2001
 
Combine the power of XPath and JSP tag libraries - JavaWorld January 2001
Combine the power of XPath and JSP tag libraries - JavaWorld January 2001
 
Printing in Java, Part 4 - JavaWorld February 2001
Printing in Java, Part 4 - JavaWorld February 2001
 
Jato: The new kid on the open source block, Part 2 - JavaWorld April 2001
Jato: The new kid on the open source block, Part 2 - JavaWorld April 2001
 
Jato: The new kid on the open source block, Part 3 - JavaWorld May 2001
Jato: The new kid on the open source block, Part 3 - JavaWorld May 2001
 
Matchmaking with regular expressions - JavaWorld July 2001
Matchmaking with regular expressions - JavaWorld July 2001
 
Pushlets: Send events from servlets to DHTML client browsers
Pushlets: Send events from servlets to DHTML client browsers
 
Slimdog
Slimdog SlimDog offers a simple script based webapplication testing tool. It is based on httpunit. The tool offers a wide range of commands to work with forms, check the content of tables and navigation between HTML pages.
 
Jeff Schmitt's JDBC Page
This tutorial assumes you are using the MySQL database and the GWE JDBC drivers. The host computer is triton.towson.edu.
 
JSP Tutorial
Adding dynamic content via expressionsAs we saw in the previous section, any HTML file can be turned into a JSP file by changing its extension to .jsp. Of course, what makes JSP useful is the ability to embed Java. Put the following text in a file wit
 
developing a Session Bean and a Servlet and deploy the web application on JBoss 3.0
developing a Session Bean and a Servlet and deploy the web application on JBoss 3.0 Writing Calculator Session Bean and Calling through JSP Previous Tutorial Index Next In this lesson I will show you how to develop a Calculator Stateless Session
 
JSP FUNDAMENTALS
JSP FUNDAMENTALS JSP FUNDAMENTALS By: Hrishikesh Deshpande Introduction : JSP termed as Java Server Pages is a technology introduced by Sun Microsystems Inc. to develop the web application in more efficient way than Servlets. It has got many
 
Beginner to advance guide to the Apache Struts
Beginner to advance guide to the Apache Struts The Complete Apache Struts Tutorial This complete reference of Jakarta Struts shows you how to develop Struts applications using ant and deploy on the JBoss Application Server. Ant script is provided
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.