This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

JavaRanch » Java Forums » Java » JSP
Bookmark "include a JSP file" Watch "include a JSP file" New topic

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

[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
David Newton

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.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: include a JSP file
It's not a secret anymore!