Re: Mapping a servlet to a prettier url thanks to pretty faces: is that possible?

Splash Forums PrettyFaces Users Mapping a servlet to a prettier url thanks to pretty faces: is that possible? Re: Mapping a servlet to a prettier url thanks to pretty faces: is that possible?

#20907

balteo
Participant

Me again:

I refined the match clause as follows:

<rewrite match=”^/redirigeVersSculpture/(fr|en)/(d+)” substitute=”/RedirigeVersSculptureServlet?abonneLocale=$1#38;sculptureID=$2″ redirect=”chain”/>

I am now getting this:

***********************

com.ocpsoft.pretty.PrettyException: Error occurred during canonicalization of request <[/redirigeVersSculpture/fr/1]>

com.ocpsoft.pretty.PrettyFilter.rewrite(PrettyFilter.java:223)

com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:74)

org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113)

org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

com.jeanbaptistemartin.util.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:70)

cause m�re

***********************

I use PF 3.2.1.

J.