jQuery in Action, 3rd edition
The moose likes JSP and the fly likes how we can include one jsp page in another jsp Page? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how we can include one jsp page in another jsp Page?" Watch "how we can include one jsp page in another jsp Page?" New topic
Author

how we can include one jsp page in another jsp Page?

priyanaka jaiswal
Ranch Hand

Joined: Jun 03, 2011
Posts: 79
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63231
    
  69

That greatly depends on what you mean by "page" and what you are trying to accomplish.

Please put more effort into posting questions. TellTheDetails.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Pongsakorn Semsuwan
Ranch Hand

Joined: May 15, 2011
Posts: 34

I think <%@include file="filename.jsp" %> for static include

and <jsp:include page="filename.jsp" /> for dynamic include


A web application developer wannabe from Thailand
My StartUp : http://www.dreamlog.co
Blog : http://pongsakornsemsuwan.wordpress.com
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how we can include one jsp page in another jsp Page?
 
It's not a secret anymore!