Reply To: Pretty faces URl pattern case insensitivity

Splash Forums Rewrite Users Pretty faces URl pattern case insensitivity Reply To: Pretty faces URl pattern case insensitivity

#26415

Shali123
Participant

I have added this <rewrite toCase=”lowercase” redirect=”301″ /> in pretty-config.xml file:

My configuration:

<url-mapping id=”overview”>
<pattern> /mypages/overview </pattern>
<view-id> /faces/layout/index.xhtml </view-id>
<action phaseId=”RENDER_RESPONSE”> #{sub.prepareOverview} </action>
<rewrite toCase=”lowercase” redirect=”301″/>
</url-mapping>

dependency:

<dependency>
<groupId>org.ocpsoft.rewrite</groupId>
<artifactId>rewrite-servlet</artifactId>
<version>2.0.12.Final</version>
</dependency>
<dependency>
<groupId>org.ocpsoft.rewrite</groupId>
<artifactId>rewrite-config-prettyfaces</artifactId>
<version>2.0.12.Final</version>
</dependency>

Even after trying with Case insensitive it is not working.
Could you please help where I made the mistake?