This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP include  RSS feed

 
Mike Yu
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
If I have a test.html file in a webserver (e.g., IBM HTTP server), and a test1.jsp file in an application server (e.g., IBM WebSphere App Server), is it possible to use <jsp:include... or <%@include ... to include test.html in test.jsp?
 
Shawn Bayern
Author
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Mike Yu:
Hi,
If I have a test.html file in a webserver (e.g., IBM HTTP server), and a test1.jsp file in an application server (e.g., IBM WebSphere App Server), is it possible to use <jsp:include... or <%@include ... to include test.html in test.jsp?

You can use JSTL's standard <c:import> tag to import content from any absolute URL. For more information on JSTL, see http://java.sun.com/products/jstl
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!