hi

how to display the content of one jsp page into another jsp page.

how to add more than one jsp page in a single page.

thanks

there are several ways to achieve this; I will state two:
either use the include directive or include action

action <jsp:include page="pagename.jsp" /> : This is a dynamic include

directive <@ include file="pagename.jsp" /> : This is a static include

hola back if u need any more help

there are several ways to achieve this; I will state two:
either use the include directive or include action

action
<jsp:include page="pagename.jsp" /> : This is a dynamic include

directive
<@ include file="pagename.jsp" /> : This is a static include

hola back if u need any more help

thank for ue reply.

i will try it.

any way to refresh the jsp page other than meta tag.

can u have a coding in javascript to refresh the jsp page.

use this script to achieve it

<script type="text/javascript">
	function delay(){
		location = "thispage.jsp";
	}
	window.onload = function(){
		setTimeout(delay, 5000);
	}
</script>

the delay time is in miliseconds so multipy whatever seconds delay u want by 1000

use this script to achieve it

<script type="text/javascript">
    function delay(){
        location = "thispage.jsp";
    }
    window.onload = function(){
        setTimeout(delay, 5000);
    }
</script>

the delay time is in miliseconds so multipy whatever seconds delay u want by 1000

thank you

i tried include tag, its works.

but i palced tha page in particular positon using stylesheet.

when i restore down its appear in different position.

how to solve it.

how to stay the page in static position in restor down or maximize the browser.

plz help me.

Edited 3 Years Ago by mike_2000_17: Fixed formatting

post the source code here then I'll be able to fix it for u

thank you

i solved that.

canu help me develop custom tags.

how to set a methods (eg : onload) to a custom tag.

ejosiah: thanks for that information on dynamic and static linking of JSP pages.
I didn't realise you could link them dynamically, this has made things much easier for me!

This question has already been answered. Start a new discussion instead.