This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes How to create a common header Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to create a common header" Watch "How to create a common header" New topic
Author

How to create a common header

Andy Hahn
Ranch Hand

Joined: Aug 31, 2004
Posts: 225
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

Joined: Jan 10, 2002
Posts: 60785
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create a common header
 
Similar Threads
struts redirect and http status code
How to set custom HTTP REQUEST HEADER
Struts2/JQuery
Struts1 - Create Action and Form for a JSP used in Tiles
Custom Tags