• Post Reply Bookmark Topic Watch Topic
  • New Topic

a jsp page can be included in another jsp page?  RSS feed

 
yuvaraj KumarAmudhan
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 806
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you can do it. Use

 
yuvaraj KumarAmudhan
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
whatever presented in page2 will be displayed in page1 ah?


thanks
 
chaitanya karthikk
Ranch Hand
Posts: 806
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!