Click here to Skip to main content
12,892,015 members (57,423 online)
Rate this:
Please Sign up or sign in to vote.
See more: Javascript HTML
how to include one page to another page in html page,without using <jsp:include></jsp:include>and <jsp:param></jsp:param> tag.only use html.but it will work same jsp page.
Posted 23-Dec-12 15:33pm
Updated 23-Dec-12 17:45pm
Karthik. A40.8K

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Read about $.load jquery method[^]. You can get the html from the 2nd page's url, manipulate it, for example, choose the content within the body tag and append it to the current page.

All you need is in the docs, have a look at it!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 23 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100