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

Recommended Answers

All 9 Replies

Read a HTML tutorial: This is what I prefer:
w3schools

And you are at the wrong forum. I think there is a forum for JSPs

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.

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

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.

Since the original request has been solved, create a new thread for questions unrelated to it.

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!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.