File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 60059
    
  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
Struts2/JQuery
struts redirect and http status code
Struts1 - Create Action and Form for a JSP used in Tiles
Custom Tags
How to set custom HTTP REQUEST HEADER