This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Include html within a jsp" Watch "Include html within a jsp" New topic
Author

Include html within a jsp

Tom Hopkins
Greenhorn

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
Greenhorn

Joined: Aug 10, 2001
Posts: 14
Thanks anyway, I found an answer - <jsp:include>.
 
Don't get me started about those stupid light bulbs.
 
subject: Include html within a jsp