This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Struts and the fly likes including webpage in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "including webpage in jsp" Watch "including webpage in jsp" New topic

including webpage in jsp

kumaresan Natarajan

Joined: Jul 23, 2005
Posts: 27

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 = "";
<jsp:include page=destination />

its not getting the content of the page.

Can any one help me to find the solution.

Kumaresan N

Thanks and Regards
kumaresan N
Harpreet Singh janda
Ranch Hand

Joined: Jan 14, 2010
Posts: 317

Try it with the EL
kumaresan Natarajan

Joined: Jul 23, 2005
Posts: 27
EL ?
kumaresan Natarajan

Joined: Jul 23, 2005
Posts: 27
Ok , I need to include another webpage to my jsp, How can I ?

Kumaresan N
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 39576
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.

Ping & DNS - updated with new look and Ping home screen widget
I agree. Here's the link:
subject: including webpage in jsp
Similar Threads
Interesting tiles/struts making a menu question
Struts Tiles
Need your help on tiles urgently ~~
Struts & Tiles frame work issue
Navigating using a link