|
Hi i am having one question on jsp.I am having 30 jsp pages in my application.I have some common data to the all pages.where i have to write the common data to get all the pages.plz help me ..urgent
|
|
|
If there are many pages with the same data in them simply create an include file("/forum/my_include_file.html"). All you need to do in order to be able to do this is place all the html code that is common in one jsp file and then include it in any other jsp file(s) by using the following syntax:
<jsp:include page="/forum/my_include_file.html"/>
Note: You can call the file whatever you want and put it in any location you like, you just need to reference it correctly.
|
|
|
|
|
|
|
// |