Click here to Skip to main content
15,881,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Updated 23-Dec-12 17:45pm
v3

1 solution

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!
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900