Click here to Skip to main content
12,354,574 members (59,758 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
Edited 23-Dec-12 17:45pm
Karthik. A38.6K
v3

1 solution

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

Solution 1

Read about $.load jquery method http://api.jquery.com/load/[^]. 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!
  Permalink  

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.160621.1 | Last Updated 23 Dec 2012
Copyright © CodeProject, 1999-2016
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