Click here to Skip to main content
11,647,659 members (57,019 online)
Rate this: bad
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
Edited 23-Dec-12 17:45pm
Karthik. A36.2K

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
0 500
1 F-ES Sitecore 410
2 OriginalGriff 322
3 DamithSL 315
4 CPallini 250
0 OriginalGriff 1,342
1 994
2 DamithSL 971
3 Sergey Alexandrovich Kryukov 873
4 CPallini 795

Advertise | Privacy | Mobile
Web04 | 2.8.150804.3 | Last Updated 23 Dec 2012
Copyright © CodeProject, 1999-2015
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