J2EE is already the perfect solution for complex business/enterprise systems, and JSF2.x is the perfect chance to reach out to the consumer and small business market. JSF is easier to use than it's ever been before, but small businesses have different needs than larger companies and corporations. PrettyFaces is for all projects, small and large; this presentation explains why "pretty, bookmark-able URLs" are important for client-facing applications, addressing SEO optimization, and creating clean, consistent, intuitive client interactions on the web.
98. <url-mapping> <pattern value = ” /store/item/ #{ number } ” /> <view-id> /faces/store/view.xhtml </view-id> </url-mapping> Add a request parameter. /faces/store/view.xhtml? number = X
99. <url-mapping> <pattern value = ” / store/item/ #{ number : itemBean.number } ” /> <view-id> /faces/store/view.xhtml </view-id> </url-mapping> Both.