title: primefaces poll tag does not work
body: <p>i am using primefaces library this is my jsp page source:</p>
  
  <pre><code>&lt;%@taglib uri="http://primefaces.prime.com.tr/ui" prefix="p"%&gt;
  &lt;%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%&gt;
  &lt;%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%&gt;
  &lt;%
  String path = request.getContextPath();
  String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  %&gt;
  
  &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"&gt;
  &lt;html&gt;
  &lt;f:view&gt;
  &lt;head&gt;
    &lt;p:resources /&gt;
    &lt;base href="&lt;%=basePath%&gt;"&gt;
  
    &lt;title&gt;My JSP 'index.jsp' starting page&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  
     &lt;h:form&gt;
      &lt;h:outputText id="txt_count" value="#{counterBean.count}" /&gt;
      &lt;p:poll actionListener="#{counterBean.increment}" update="txt_count" /&gt;
     &lt;/h:form&gt;
  
  &lt;/body&gt;
  
    &lt;/f:view&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>and my back bean code is :</p>
  
  <pre><code>import javax.faces.event.ActionEvent;
  
  
  public class CounterBean {
  private int count;
  public void increment(ActionEvent actionEvent) {
  count++;
  }
  //getters and setters
  public int getCount() {
   return count;
  }
  public void setCount(int count) {
   this.count = count;
  }
  }
  </code></pre>
  
  <p>my web.xml is as follows</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" version="2.5" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee   http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"&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;0&lt;/load-on-startup&gt;
    &lt;/servlet&gt;
    &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;*.faces&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
    &lt;servlet&gt;
  &lt;servlet-name&gt;Resource Servlet&lt;/servlet-name&gt;
  &lt;servlet-class&gt;org.primefaces.resource.ResourceServlet&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  &lt;servlet-mapping&gt;
  &lt;servlet-name&gt;Resource Servlet&lt;/servlet-name&gt;
  &lt;url-pattern&gt;/primefaces_resource/*&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
    &lt;welcome-file-list&gt;
      &lt;welcome-file&gt;test.jsp&lt;/welcome-file&gt;
    &lt;/welcome-file-list&gt;
  &lt;/web-app&gt;
  </code></pre>
  
  <p>my pages loads correctly but it's not regulary updated</p>
  
  <p>when it is loaded it says that "yahoo is not defined" and so it does not work.</p>
  
  <p>i have defined resources servlet and  but it does not work yet! </p>
  
  <p>please help me!</p>