wood burning stoves*
The moose likes JSP and the fly likes include a JSP file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "include a JSP file" Watch "include a JSP file" New topic
Author

include a JSP file

Vinney Shanmugam
Ranch Hand

Joined: Aug 27, 2008
Posts: 104
How to include a JSP file to another JSP file without editing the file?
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

Vinney Shanmugam wrote:without editing the file?


I don't know what you mean by... without editing..

here is a url which may help you to include.. jsp


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Without editing?! So you want to include the contents of JSP page B into an existing JSP page A, without editing A?

I'm not sure if something like SiteMesh would allow you to do that. You could do it dynamically via Ajax if you have a way to reference where you want to insert the page, I suppose.
 
jQuery in Action, 2nd edition
 
subject: include a JSP file