tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Douglas, Rory" <>
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


-----Original Message-----
From: Seth Brahler []
Sent: Thursday, June 27, 2002 2:43 PM
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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message