Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

including webpage in jsp

 
kumaresan Natarajan
Greenhorn
Posts: 27
Hibernate Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using Tiles framework in my project and we have a tiles in top and right side that need to be display sponcer link need to display more then one link in every tiles sections.

I tried with below code

<%
String destination = "www.web.com";
<jsp:include page=destination />
%>

its not getting the content of the page.

Can any one help me to find the solution.

Thanks,
Kumaresan N
 
Harpreet Singh janda
Ranch Hand
Posts: 317
Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try it with the EL
 
kumaresan Natarajan
Greenhorn
Posts: 27
Hibernate Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EL ?
 
kumaresan Natarajan
Greenhorn
Posts: 27
Hibernate Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok , I need to include another webpage to my jsp, How can I ?

Thanks,
Kumaresan N
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's needed is not the EL, but JSTL. See the JspFaq for links to a JSTL introduction. Part 2 - Core has a section on "URL actions", which is what you need.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic