On Wed, 22 Dec 2004 14:59:04 -0000, Donie Kelly <[EMAIL PROTECTED]> wrote: > Hi all > > I have the following jsp layout for my pages > > Included header.jsp > > STRUTS PAGE > > Included footer.jsp > > Now in the header.jsp I have my site logo and I also want to add > breadcrumbs. I want to establish and maintain a session throughout the app > and if the session is invalid i want to redirect to the starting page so > that I can initialise the app. I presume I need to put code in the > header.jsp to handle this so no matter which page is accessed it can do > these checks. > > I also want to access the ActionForm for the current page so that I can > retrieve the page name to build up the breadcrumb. How can I do this? > > Any pointers would be appreciated. > > Donie >
Call the form by its name in the scope where it exists. Jack ------------------------- "You can lead a horse to water but you cannot make it float on its back." ~Dakota Jack~ "You can't wake a person who is pretending to be asleep." ~Native Proverb~ "Each man is good in His sight. It is not necessary for eagles to be crows." ~Hunkesni (Sitting Bull), Hunkpapa Sioux~ ----------------------------------------------- "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation." --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]