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.
Originally posted by Amit M Tank: Use html Frames to deisgn your web application.
I would not consider frames a good way to accomplish this. Frames are now considered very old-fashioned at this point and come with a lot of problems and baggage. It's not worth the hassle for something as simple as a logo.
I'm still waiting to hear from the original poster regarding what he's really trying to do. Looking for any easy way to include the image on a bunch of existing JSP pages? Looking for a way to share some complicated markup across many pages? Something else?
One sentence posts such as this one lead to more questions than answers. [ July 05, 2007: Message edited by: Bear Bibeault ]
Using a prelude isn't really a good option because it will prepend the prelude file to the entire JSP page. This means that all the HTML markup up until the logo image (or whatever) would need to be in the prelude. I think it is highly unlikely that the same <head> section will work for every page in the web app.
Preludes are most useful for including common directives for the JSP pages; for example, tag library declarations for tags that will be used on all (or most) pages.
They're not all that useful for including HTML markup for the reason stated above. Rather, custom actions or tag files would allow the generated HTML markup to be placed at appropriate places in the page. [ July 05, 2007: Message edited by: Bear Bibeault ]