Search code examples
jsfjava-ee-6bookmarksmyfaces

How to make all pages bookmarkable in a JSF Project?


Before I start to implement some code. I want to be sure about the techniques.

In my case, i want to be able to bookmark every page.

What should i take in account to make it possible.

In the project I will use:

  • Myfaces (JSF)
  • MVP
  • JPA 2.0

How should i structure/start the project??


Solution

  • Just use GET instead of POST for page-to-page navigation.

    This has nothing to do with the JSF implementation used, nor the MVP (it's actually MVC) approach, nor whether you use JPA or not, let alone the project structure.

    See also: