🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Ustawianie Welcome page dla aplikacji

#141733
From: Yacho
Date: Fri, 17 Oct 2008 22:34
30 lines
1984 bytes
LuQaS pisze:
> Ja używam czegoś takiego z velocity i springiem pod tomcatem i działa..
> 
> Musisz mieć dwie definicje w web.xml
> 
> <servlet-mapping>
>      <servlet-name>Faces Servlet</servlet-name>
>      <url-pattern>*.faces</url-pattern>
>  </servlet-mapping>
> 
> <servlet-mapping>
>      <servlet-name>Faces Servlet</servlet-name>
>      <url-pattern>/index.faces</url-pattern>
>  </servlet-mapping>
> 
> 
> i oczywiście w Faces Servlet obsłużyć linka index.faces, sprawdź czy
> jak wejdziesz na adres domena/index.faces wszystko jest ok.
> 
> welcome file nie musi być rzeczywistym plikiem na serwerze.
> 
> Tutaj więcej info odnośnie problemu:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=26452#c6
> 

No niestety - z niewiadomych przyczyn pod glassfishem nie działa :/
Dalej czekam na porady....

-- 
Jacek
Technical Details
Message-ID: <gdb3sq$mjg$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <gd7rh3$psi$1@inews.gazeta.pl> <0b4b9a0b-7d48-4b48-bce5-40806b1e5100@l64g2000hse.googlegroups.com> <gdar99$ob6$1@inews.gazeta.pl> <d93817bc-8ebb-42a5-9bcf-58d8b2d92694@y29g2000hsf.googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: Yacho <yacho1984@[googlemail].com>
Newsgroups: pl.comp.lang.java
Subject: Re: Ustawianie Welcome page dla aplikacji
Date: Sat, 18 Oct 2008 00:34:02 +0200
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 30
Message-ID: <gdb3sq$mjg$1@inews.gazeta.pl>
References: <gd7rh3$psi$1@inews.gazeta.pl> <0b4b9a0b-7d48-4b48-bce5-40806b1e5100@l64g2000hse.googlegroups.com>  <gdar99$ob6$1@inews.gazeta.pl> <d93817bc-8ebb-42a5-9bcf-58d8b2d92694@y29g2000hsf.googlegroups.com>
NNTP-Posting-Host: chello089074165208.chello.pl
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1224282842 23152 89.74.165.208 (17 Oct 2008 22:34:02 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Fri, 17 Oct 2008 22:34:02 +0000 (UTC)
X-User: yacho1984
X-Antivirus: avast! (VPS 081017-0, 2008-10-17), Outbound message
In-Reply-To: <d93817bc-8ebb-42a5-9bcf-58d8b2d92694@y29g2000hsf.googlegroups.com>
X-Antivirus-Status: Clean
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit