I rewrite one project in JSF 2.0, so I must follow the rules of MVC. In a simplified form, there is a ManagedBean User with the String login property. And there is a user.xhtml that is mapped to user.jsf .
What is the best way for the MVC paradigm to organize the transfer of the login parameter so that the user.jsf can display information about a specific user?
The classic solution user.jsf?login=login , as I understand it, is not the best? Or maybe you need to use a servlet that will set the parameter in the session and will forward the request to user.jsf ?