aspose file tools
The moose likes JSP and the fly likes a jsp page can be included in another jsp page? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "a jsp page can be included in another jsp page?" Watch "a jsp page can be included in another jsp page?" New topic
Author

a jsp page can be included in another jsp page?

yuvaraj KumarAmudhan
Ranch Hand

Joined: Aug 22, 2009
Posts: 110
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

Yes, you can do it. Use



Love all, trust a few, do wrong to none.
yuvaraj KumarAmudhan
Ranch Hand

Joined: Aug 22, 2009
Posts: 110
whatever presented in page2 will be displayed in page1 ah?


thanks
chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 779

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?