I want to access back-end bean's method without using any menu or link. For example, if I type http://localhost:8080/myproject/userObj/userNew
, userNew
method will be called. If I type http://localhost:8080/myproject/userObj/userList
, userList
method will be called. Are there any ways to setup like above?
At my current project, I use PrimeFaces Menubar. Attribute action
is used to point to the bean's method. What I want is some mapping feature that will access bean's method based on the URL. Thanks!