Re: Global Footer Accross All Webapps
http://struts.apache.org/1.x/struts-tiles/ A more structured replacement for plain-old JSP include statements. B. Simon Stone wrote: Sorry to be dim, what are tiles ? Brantley Hobbs-3 wrote: You could easily do it with tiles. An alternative would be to use a filter and append your footer to the output stream. B. Simon Stone wrote: I am trying to find a way to put some html text on the bottom of all pages across all webapps. So what i would like to acheive is when any page is displayed to a visitor at the bottom of the page, MY text is added without changing the files within the webapp's themselves. Basically a global footer page. An example of the footer page, would have the following information:- Powered by Apache Tomcat http://globalsite.com/images/tomcat.jpg border= My current structure is as follows:- Tomcat WebApp1 index.jsp page2.jsp WebApp2 index.jsp someotherpage.jsp WebApp3 index.jsp anyotherpage.jsp - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Global Footer Accross All Webapps
Sorry to be dim, what are tiles ? Brantley Hobbs-3 wrote: > > You could easily do it with tiles. An alternative would be to use a > filter and append your footer to the output stream. > > B. > > Simon Stone wrote: >> I am trying to find a way to put some html text on the bottom of all >> pages >> across all webapps. >> >> So what i would like to acheive is when any page is displayed to a >> visitor >> at the bottom of the page, MY text is added without changing the files >> within the webapp's themselves. >> >> Basically a global footer page. >> >> An example of the footer page, would have the following information:- >> >> Powered by Apache Tomcat http://globalsite.com/images/tomcat.jpg border= >> >> >> My current structure is as follows:- >> >> Tomcat >>WebApp1 >> index.jsp >> page2.jsp >>WebApp2 >> index.jsp >> someotherpage.jsp >>WebApp3 >> index.jsp >> anyotherpage.jsp > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Global-Footer-Accross-All-Webapps-tf3606998.html#a10287112 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Global Footer Accross All Webapps
On 4/19/07, Simon Stone <[EMAIL PROTECTED]> wrote: I am trying to find a way to put some html text on the bottom of all pages across all webapps. It is easily possible to include a static (header) or footer file across all JSPs with include-prelude and include-coda , they can be configured in web.xml under the jsp-property-group node. Look in JSP 2.1 specification (PDF format) for further details, under section JSP.3.3.5 Defining Implicit Includes. -Rashmi - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Global Footer Accross All Webapps
Doh. My coffee hasn't kicked in yet: I just noticed that you want one for every webapp, not just a single one. I wonder if you can do it with a valve. That's a tomcat specific thing, IIRC, so you might not be able to port that to some other container in the future. B. Simon Stone wrote: I am trying to find a way to put some html text on the bottom of all pages across all webapps. So what i would like to acheive is when any page is displayed to a visitor at the bottom of the page, MY text is added without changing the files within the webapp's themselves. Basically a global footer page. An example of the footer page, would have the following information:- Powered by Apache Tomcat http://globalsite.com/images/tomcat.jpg border= My current structure is as follows:- Tomcat WebApp1 index.jsp page2.jsp WebApp2 index.jsp someotherpage.jsp WebApp3 index.jsp anyotherpage.jsp - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Global Footer Accross All Webapps
You could easily do it with tiles. An alternative would be to use a filter and append your footer to the output stream. B. Simon Stone wrote: I am trying to find a way to put some html text on the bottom of all pages across all webapps. So what i would like to acheive is when any page is displayed to a visitor at the bottom of the page, MY text is added without changing the files within the webapp's themselves. Basically a global footer page. An example of the footer page, would have the following information:- Powered by Apache Tomcat http://globalsite.com/images/tomcat.jpg border= My current structure is as follows:- Tomcat WebApp1 index.jsp page2.jsp WebApp2 index.jsp someotherpage.jsp WebApp3 index.jsp anyotherpage.jsp - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Global Footer Accross All Webapps
I am trying to find a way to put some html text on the bottom of all pages across all webapps. So what i would like to acheive is when any page is displayed to a visitor at the bottom of the page, MY text is added without changing the files within the webapp's themselves. Basically a global footer page. An example of the footer page, would have the following information:- Powered by Apache Tomcat http://globalsite.com/images/tomcat.jpg border= My current structure is as follows:- Tomcat WebApp1 index.jsp page2.jsp WebApp2 index.jsp someotherpage.jsp WebApp3 index.jsp anyotherpage.jsp -- View this message in context: http://www.nabble.com/Global-Footer-Accross-All-Webapps-tf3606998.html#a10077332 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]