🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.java
Article #141726

Re: Ustawianie Welcome page dla aplikacji

#141726
From: Mateusz Grzechociński
Date: Thu, 16 Oct 2008 17:22
15 lines
1740 bytes
Hej,

zrób sobie zwykły plik index.jsp, albo nawet lepiej index.html, który
będzie welcome-file'em. W sekcji head podajesz redirect:

<meta http-equiv="refresh" content="0; url=strona.faces">

To rozwiązanie jest o tyle fajne, że refresh wykona się dopiero, gdy
strona jsf będzie gotowa do wyświetlenia (co przy pierwszym
uruchomieniu trochę trwa). Możesz w tym czasie na index.html
wyświetlić informację "Ładowanie aplikacji. Proszę czekać.." lub coś w
tym stylu.

Pozdrawiam,
Mateusz
Technical Details
Message-ID: <a80d24ec-d873-46ef-856a-5e5a4e163236@d1g2000hsg.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!newsfeed.silweb.pl!news.us.edu.pl!news.nask.pl!news.nask.org.pl!news.germany.com!postnews.google.com!d1g2000hsg.googlegroups.com!not-for-mail
References: <gd7rh3$psi$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!newsfeed.silweb.pl!news.us.edu.pl!news.nask.pl!news.nask.org.pl!news.germany.com!postnews.google.com!d1g2000hsg.googlegroups.com!not-for-mail
From: Mateusz Grzechociński <mateusz.grzechocinski@gmail.com>
Newsgroups: pl.comp.lang.java
Subject: Re: Ustawianie Welcome page dla aplikacji
Date: Thu, 16 Oct 2008 10:22:21 -0700 (PDT)
Organization: http://groups.google.com
Lines: 16
Message-ID: <a80d24ec-d873-46ef-856a-5e5a4e163236@d1g2000hsg.googlegroups.com>
References: <gd7rh3$psi$1@inews.gazeta.pl>
NNTP-Posting-Host: 77.112.136.197
Mime-Version: 1.0
X-Trace: posting.google.com 1224177742 16852 127.0.0.1 (16 Oct 2008 17:22:22 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 16 Oct 2008 17:22:22 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: d1g2000hsg.googlegroups.com; posting-host=77.112.136.197;  posting-account=uGV0rAoAAABzhXibjx3RHuIXgKKqk0SX
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.3)  Gecko/2008092417 Firefox/3.0.3,gzip(gfe),gzip(gfe)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit