if you shutdown tomcat, tapestry app wont be running ;) If you have apache setup in front of tomcat, you can add redirect rules to a static html page see http://significantbits.wordpress.com/2007/03/15/setting-a-maintenance-page-in-apache-2/ or similar posts
On Tue, Dec 16, 2008 at 1:50 AM, Thiago H. de Paula Figueiredo <thiag...@gmail.com> wrote: > Em Mon, 15 Dec 2008 19:41:19 -0300, Angelo Chen <angelochen...@yahoo.com.hk> > escreveu: > >> Hi, >> Often I need to shutdown tomcat in order to do some maintenance work, is >> there a way to define a page in a T5 application so that all links to the >> application goes to that page? thanks. > > I haven't tested, but maybe you can decorate > ComponentClassResolver.resolvePageNameToClassName() and > ComponentClassResolver.resolvePageClassNameToPageName() to always return > your application-out-of-order page. The AOP possibilities in Tapestry 5 are > almost endless . . . > >> >> Angelo > > > > -- > Thiago H. de Paula Figueiredo > Independent Java consultant, developer, and instructor > Consultor, desenvolvedor e instrutor em Java > http://www.arsmachina.com.br/thiago > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr Tapestry / Tacos developer Open Source / JEE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org