dimanche 18 décembre 2016

Java web how to use the URL as key?

I have a product website and I want to make user experience a bit better. Today to open the product details the URL contains querystrings for example /product?id=3234, and i would like to change this to something like /products/3234-imac, which basically will open the same page as /product?id=3234.

What is the best approach for this ? is it changing web.xml or faces-config.xml? if possible please post an example.

regards,

FP




Aucun commentaire:

Enregistrer un commentaire