This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
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: 800

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: 800

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.
 
 
subject: a jsp page can be included in another jsp page?