title: JSF Getters work, Setters not
body: <p>I have a little problem with JSF,</p>
  
  <p>I've made simple JSF page to learn:</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="UTF-8" ?&gt;
    &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML      1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"     xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"&gt;
   &lt;h:head&gt;
     &lt;title&gt;register&lt;/title&gt;
     &lt;meta http-equiv="Content-Type"
  content="application/xhtml+xml; charset=UTF-8" /&gt;
    &lt;/h:head&gt;
    &lt;h:body&gt;
  &lt;h:form&gt;
      &lt;h:outputText value="Hello."/&gt;
      &lt;h:inputText value="#{login.name}"/&gt; 
      &lt;h:outputText value="Password"/&gt;
      &lt;h:inputText value="#{login.password}"/&gt;
  
      &lt;h:button value="Getgreeeting" outcome="welcome"/&gt;
  &lt;/h:form&gt;
  
  
  
  
   &lt;/h:body&gt;
   &lt;/html&gt;
  </code></pre>
  
  <p>And another page to show the values inserted to bean:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
   &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML  1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"&gt;
  &lt;h:head&gt;
  &lt;title&gt;welcome&lt;/title&gt;
  &lt;meta http-equiv="Content-Type"
  content="application/xhtml+xml; charset=UTF-8" /&gt;
  &lt;/h:head&gt;
  &lt;h:body&gt;
  &lt;h:outputText value="#{login.name}"&gt;&lt;/h:outputText&gt;
  &lt;h:outputText value="Yours password #{login.password}"&gt;&lt;/h:outputText&gt;
  
   &lt;/h:body&gt;
   &lt;/html&gt;
  </code></pre>
  
  <p>I've made some <code>System.out.println()</code> methods and they present that only getters in my beans works. Can somebody explain me why? What is solutionof my problem?</p>