Make JSF intuitive, with bookmarkable and pretty URLs

http://ocpsoft.com/uncategorized/jsf-get-bookmarkable-and-pretty-urls/

 

JSF is a web framework designed for web-applications , not designed for web-sites.

 

The difference between a web-application / web-site

When I think of a web-site, I think of a group of pages having:

  • Multiple points of entry
  • Navigation via <a href> or <form> HTML elements.
  • Mostly stateless; the application may care who you are, but usually does not care where you came from, or where you have been.

When I think of a web-application, I think of a group of pages having:

  • One or only a few points of entry (login page, etc. No direct links.)
  • Navigation via page-flows.
  • Mostly stateful; the application cares who you are and where you have been.

你可能感兴趣的:(html,Web,JSF)