webtier@glassfish.java.net

Re: [webtier] Re: alternatives to having /faces in the request URL

From: Lincoln Baxter, III <lincolnbaxter_at_gmail.com>
Date: Mon, 12 Jul 2010 17:29:22 -0400

Mapping everything to .html will work (you need to map Faces Servlet to
"*.html" in web.xml in order to achieve this), but if you want control of
the URL (in addition to changing how files are accessed,) you might want
take a look at PrettyFaces - a URL-rewriting solution for JSF.

http://ocpsoft.com/docs/prettyfaces/snapshot/en-US/html/index.html
http://ocpsoft.com/prettyfaces/

Let me know if you have any questions.

--Lincoln

On Sun, Jul 11, 2010 at 1:29 PM, <webtier_at_javadesktop.org> wrote:

> i simple map the FacesServlet to *.html
>
> so everything requested with *.html gets interpreted as jsf2
>
> this may work out for you
> [Message sent by forum member 'moritzthielcke2']
>
> http://forums.java.net/jive/thread.jspa?messageID=477292
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>
>


-- 
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"