A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
JSP
Author
a jsp page can be included in another jsp page?
yuvaraj KumarAmudhan
Ranch Hand
Joined: Aug 22, 2009
Posts: 110
posted
Nov 21, 2009 01:55:48
0
a jsp page can be included in another jsp page?
In this manner,
--------------------------------
| jsp page 1
|
| -----------
| | jsp page 2 in jsp page 1
| |
|--------------------------------
if can means, how can?
thanks
yuvaraj
chaitanya karthikk
Ranch Hand
Joined: Sep 15, 2009
Posts: 779
I like...
posted
Nov 21, 2009 01:57:49
0
Yes, you can do it. Use
<jsp:include page="page2.jsp" />
Love all, trust a few, do wrong to none.
yuvaraj KumarAmudhan
Ranch Hand
Joined: Aug 22, 2009
Posts: 110
posted
Nov 21, 2009 02:28:39
0
whatever presented in page2 will be displayed in page1 ah?
thanks
chaitanya karthikk
Ranch Hand
Joined: Sep 15, 2009
Posts: 779
I like...
posted
Nov 21, 2009 02:57:24
0
yuvaraj yuvan wrote:
whatever presented in page2 will be displayed in page1 ah?
thanks
Yes what ever present in jsp1 will be included in jsp2. Even the javascript will be included.
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: a jsp page can be included in another jsp page?
Similar Threads
include page and include file
include directive
<jsp:include> not displaying included file
What is the difference between <jsp:include page = ... > and <%@ include file = ... >?.
Compilation Error or Translation Error?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter