• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

including webpage in jsp  RSS feed

 
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
 
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
 
Rancher
Posts: 42975
76
  • 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
Boost this thread!