File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

automatically insert header and footer

 
Arnav Velimala
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can anyone suggest the best way to insert header & footer in *all* JSP's. The header and footer is common to all JSPs. We are using Struts and JDK1.4.

Thanks,
Arnav.
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Arnav Velimala:
Hi,

Can anyone suggest the best way to insert header & footer in *all* JSP's. The header and footer is common to all JSPs. We are using Struts and JDK1.4.

Thanks,
Arnav.


I found this to be a good article when I did this a *long* time ago (someone else may have a more up to date solution)

http://www.javaworld.com/javaworld/jw-01-2002/jw-0104-tilestrut.html?page=1

Cheers,
Martijn
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64188
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look up the terms prelude and coda.
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:
Look up the terms prelude and coda.


Interesting! I'm obviously light years behind in the UI/front end world of Java/JEE (I think I'm one of the few crazies writing JCA connectors in the world), I'll make sure to keep posting that fact if I try to provide answers in this area, thanks Bear!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic