This content has been marked as final.
Show 2 replies
-
1. Re: index.jsf seen as text-plain
niox.nikospara.yahoo.com Jun 16, 2009 12:59 PM (in response to digdas.seam.digdas.nl)Why don't you add a simple servlet that does response.sendRedirect(), mapped to the desired path?
Alternatively you can try adding the mime mapping in web.xml:
<mime-mapping> <extension>jsf</extension> <mime-type>text/html</mime-type> </mime-mapping>
The latter should work, but I haven't tried it.
-
2. Re: index.jsf seen as text-plain
digdas.seam.digdas.nl Jun 16, 2009 1:08 PM (in response to digdas.seam.digdas.nl)Thanks, I added the mime-mapping in the web.xml
Just belof the !-- JSF --
and this solves the case for me.This is the simplest way.