File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Include html within a jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Include html within a jsp" Watch "Include html within a jsp" New topic

Include html within a jsp

Tom Hopkins

Joined: Aug 10, 2001
Posts: 14
I'm writing a jsp and would like some html described content to be displayed withing the jsp. The html I want to include is dynamically generated by xsl. Is there a way to include the html in the jsp document. I'd rather not use seperate frames because I'd like the finished product to scroll as one page. I tried using <IFRAME> but I can't set the height attribute becuase I don't know in advance how long the dynamic html will be.
Any suggestions?
Tom Hopkins

Joined: Aug 10, 2001
Posts: 14
Thanks anyway, I found an answer - <jsp:include>.
I agree. Here's the link:
subject: Include html within a jsp
Similar Threads
JSP Include
include a html page in JSP file
This weeks giveaway
How and where to call servlets in JSP?
Include HTML files?