0

In social networks like facebook you have links like https://www.<socialNetwork>.com/<userName>/about for example.

How can this be done with JSF? I mean, the way I am doing now is with parameters (which is quite ugly):

https://www.<socialNetwork>.com?userName=<userName>&page=about

I want the page to be bookmarkable, so I need the parameters in the url.

BalusC
  • 1,040,783
  • 362
  • 3,548
  • 3,513
Aliuk
  • 1,159
  • 1
  • 14
  • 27

1 Answers1

1

You need to use some kind of URL Rewriter which converts your application URLs with parameters into something nicer. I can recommend either Pretty Faces or Rewrite, you can see comparison of those two here.

Petr Mensik
  • 25,808
  • 16
  • 86
  • 113