tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Douglas, Rory" <Rory.Doug...@na.sunchem.com>
Subject RE: can jsp's import text?
Date Thu, 27 Jun 2002 20:01:14 GMT
Use the <jsp:include page="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 = "<jsp:include page="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-help@jakarta.apache.org>

Mime
View raw message