• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create a common header

 
Andy Hahn
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am using JSP and Struts for a new application. I would like to create a common header section on each page that would allow a user to log in as a registered user at any time. I considered <jsp:include> but that does not seem to work since Struts seems to need to have all of the JSP code there at once. Does that make sense? Please recommend ideas. Thanks!!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64620
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Personally, I'd use a custom tag. But since your problem seems to be with Struts, I'm moving this along to the Struts forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic