title: JSF inputText and Sessions in jsf managed bean
body: <p>I would like to know how can i read a value of input text from the managed bean.
  I know it is possible to read this way and it is very stright forward.</p>
  
  <pre><code>&lt;h:inputText id="username" value="#{mylogin.username}" required="true" /&gt;
  </code></pre>
  
  <p>But what if lets say i have a value like </p>
  
  <pre><code> &lt;h:inputText id="username" value="some_value" required="true" /&gt;
  </code></pre>
  
  <p>And i want to read this "some_value" in my managed bean.
  Is it possible ?</p>
  
  <p>Another question is it possible to access to the session variables in managed bean or should i somehow pass them to there ?</p>