title: tomcat7+El2.2+jsf1.2 not working
body: <p>expression language is not working in tomcat7 with jsf1.2  .<code>#{message.name_prompt}</code> is ouputed as <code>#{message.name_prompt}</code>.</p>
  
  <p>i tried to replace the <strong>el-api.jar</strong> in the tomcat lib folder with <strong>el-api-2.2.jar</strong> and put the <strong>el-impl-2.2.jar</strong> in the WEB-INF/lib folder, adding </p>
  
  <pre><code>&lt;context-param&gt;
      &lt;param-name&gt;org.apache.myfaces.EXPRESSION_FACTORY&lt;/param-name&gt;
      &lt;param-value&gt;com.sun.el.ExpressionFactoryImpl&lt;/param-value&gt;
  &lt;/context-param&gt;
  </code></pre>
  
  <p>to the <strong>web.xml</strong>. stilll the same.</p>
  
  <p>my tomcat exact version is *<em>7.0.21</em>*this is the web.xml with the default tomcat setting:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app 
      xmlns="http://java.sun.com/xml/ns/javaee"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
      id="WebApp_ID" version="3.0"&gt;
  &lt;display-name&gt;BasicExamples&lt;/display-name&gt;
  
   &lt;context-param&gt;
    &lt;param-name&gt;javax.faces.STATE_SAVING_METHOD&lt;/param-name&gt;
    &lt;param-value&gt;server&lt;/param-value&gt;
   &lt;/context-param&gt;
  
   &lt;listener&gt;
    &lt;listener-class&gt;org.apache.myfaces.webapp.StartupServletContextListener&lt;/listener-class&gt;
   &lt;/listener&gt;
   &lt;!-- Faces Servlet --&gt;
   &lt;servlet&gt;
    &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
    &lt;servlet-class&gt;javax.faces.webapp.FacesServlet&lt;/servlet-class&gt;
    &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
   &lt;/servlet&gt;
   &lt;!-- Faces Servlet Mapping --&gt;
   &lt;servlet-mapping&gt;
    &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
    &lt;url-pattern&gt;*.jsf&lt;/url-pattern&gt;
   &lt;/servlet-mapping&gt;
   &lt;login-config&gt;
    &lt;auth-method&gt;BASIC&lt;/auth-method&gt;
   &lt;/login-config&gt;
  &lt;/web-app&gt;
  </code></pre>
  
  <p><strong>update:</strong>
  now i find that the expression language is not working on the form page but the message expression language is working as <code>#{message.result_text}</code>=><code>You entered the following information</code> : ,but still managed bean not working.
  and <strong>El</strong> is working fine with jsf2.0</p>