Reply To: JSF View Param Reading issue in GET URL

Splash Forums Rewrite Users JSF View Param Reading issue in GET URL Reply To: JSF View Param Reading issue in GET URL

#25807

ravindra
Participant

Hi christian,

Am using pretty faces rewrite version 2.0.9.Final and prettyfaces-jsf2 3.3.3 ,primefaces 4.0.

In forward slash issue in rewriting in URL.

i constructed url like this https://localhost:8080/sample/text-ab&123,

Bofore sending to pretty provider class i encoded url

encoded url:https://localhost:8080/text-abc%26123

when this url i configured in prettyConfigurationProvider class :

.addRule(Join.path("sample/{filter}").to("sample.xhtml").withInboundCorrection());

Now am getting in the browser correctly (https://localhost:8080/text-abc%26123)
when path parameter settings to bean its giving only abc instead of abc@123.

in web.xml i used following code

<context-param>
     <param-name>defaultHtmlEscape</param-name>
     <param-value>true</param-value>
 </context-param>

Please let me know how I can read value which has %26 i.e & character from the GET param value.

Thanks& Regards
Ravindra

Thanks & Regards
Ravindra

  • This reply was modified 7 years, 11 months ago by  ravindra.
  • This reply was modified 7 years, 11 months ago by  ravindra.