From tomcat-user-return-24292-qmlist-jakarta-archive-tomcat-user=jakarta.apache.org@jakarta.apache.org Thu Jun 27 20:00:52 2002 Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 49053 invoked from network); 27 Jun 2002 20:00:52 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by 209.66.108.5 with SMTP; 27 Jun 2002 20:00:52 -0000 Received: (qmail 9451 invoked by uid 97); 27 Jun 2002 20:00:44 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 9376 invoked by uid 97); 27 Jun 2002 20:00:43 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 9362 invoked by uid 98); 27 Jun 2002 20:00:43 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: From: "Douglas, Rory" To: 'Tomcat Users List' Subject: RE: can jsp's import text? Date: Thu, 27 Jun 2002 16:01:14 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/mixed; boundary="------------InterScan_NT_MIME_Boundary" X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N --------------InterScan_NT_MIME_Boundary Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C21E15.641724A0" ------_=_NextPart_001_01C21E15.641724A0 Content-Type: text/plain; charset="iso-8859-1" Use the tag. This just drags the text into the page as is. If you want to parse it in the page, I think this might work: <% String extContent = ""; // now do stuff with extContent %> cheers Rory -----Original Message----- From: Seth Brahler [mailto:spb32@cornell.edu] Sent: Thursday, June 27, 2002 2:43 PM To: tomcat-user@jakarta.apache.org Subject: can jsp's import text? For example, in Cold Fusion you can use a HTTP tag that will bring any page's HTML and deliver it as a string. Then you can parse the string as you wish and display it on your site. Can this be done in JSP? Seth Brahler HR Information Systems Cornell University Office of Human Resources 337 Pine Tree Road East Hill Plaza Ithaca, New York 14853 607-255-9696 -- To unsubscribe, e-mail: For additional commands, e-mail: ------_=_NextPart_001_01C21E15.641724A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: can jsp's import text?

Use the <jsp:include = page=3D"yoururl.html"/> tag.
This just drags the text into the page as is.
If you want to parse it in the page, I think this = might work:

<%
        String = extContent =3D "<jsp:include = page=3D"yourpage.whatever"/>";
        // now do = stuff with extContent
%>

cheers
Rory

-----Original Message-----
From: Seth Brahler [mailto:spb32@cornell.edu]
Sent: Thursday, June 27, 2002 2:43 PM
To: tomcat-user@jakarta.apache.org
Subject: can jsp's import text?


For example, in Cold Fusion you can use a HTTP tag = that will bring any
page's HTML and deliver it as a string. Then you can = parse the string as
you wish and display it on your site. Can this be = done in JSP?


Seth Brahler

HR Information Systems
Cornell University
Office of Human Resources
337 Pine Tree Road
East Hill Plaza
Ithaca, New York  14853

607-255-9696


--
To unsubscribe, e-mail:   <mailto:tomcat= -user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-h= elp@jakarta.apache.org>

------_=_NextPart_001_01C21E15.641724A0-- --------------InterScan_NT_MIME_Boundary Content-Type: text/plain; charset=us-ascii -- To unsubscribe, e-mail: For additional commands, e-mail: --------------InterScan_NT_MIME_Boundary--