From: Jeff Bischoff [mailto:[EMAIL PROTECTED]
> 
> Hey guys, quick question:
> 
> Does anyone have welcome files working successfully with the /faces/* 
> servlet mapping? I previously used a *.faces extension mapping, and had 
> welcome files working with a dummy index.faces file. But now I am 
> converting to facelets and followed the advice from the archives to get 
> them to coexist [1]. Now that I'm using /faces/* I have both facelets 
> and JSP working just fine together except my welcome-file doesn't work 
> (results in a blank page shown). I've tried different paths combinations 
> in the welcome-file-list, with no luck so far. Latest entry is pasted 
> below. Thanks for any tips!
> 
> <welcome-file-list>
>     <!-- OLD <welcome-file>pages/public/index.faces</welcome-file>-->
>     <welcome-file>faces/pages/public/index.xhtml</welcome-file>
> </welcome-file-list>
> 
> [1] http://www.nabble.com/Facelets-tf2005321.html#a5509212
> 
> Regards,

Hi Jeff,

I did never manage to have this working with facelets.

It is probably a facelets issue. The only solution I see is to do an http 
filter in order to detect directory requests and redirect them to the wanted 
resource.

Please note that if you use apache + mod_jk 1.1.20 and attempt to fix this 
through the DirectoryIndex directive in Apache, it will not work either: I did 
place a bug for this in the apache buglist 
(http://issues.apache.org/bugzilla/show_bug.cgi?id=41430).

Cheers,

Giampaolo


> 
> Jeff Bischoff
> Kenneth L Kurz & Associates, Inc.
> 
> 

Reply via email to