title: why <f:ajax> tags doesnt work in JSP with JSF2.0
body: <p>I am working with JSF2.0 and I want to make JSP page with with ajax-enabled component  which is inbuilt component in JSF2.0 and i did following coding for that.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%&gt;
  &lt;%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%&gt;
  &lt;%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html  xmlns="http://www.w3.org/1999/xhtml"
        xmlns:f="http://java.sun.com/jsf/core"      
        xmlns:h="http://java.sun.com/jsf/html"&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /&gt;
  &lt;title&gt;Insert title here&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;f:view&gt;        
          &lt;h3&gt;JSF 2.0 + Ajax Hello World Example&lt;/h3&gt;
  
          &lt;h:form&gt;
             &lt;h:inputText id="sname" value="#{helloBean.name}"&gt;&lt;/h:inputText&gt;
             &lt;h:commandButton value="Welcome Me"&gt;
               &lt;f:ajax execute="sname" render="output" /&gt;
             &lt;/h:commandButton&gt;
  
             &lt;h2&gt;&lt;h:outputText id="output" value="#{helloBean.sayWelcome}" /&gt;&lt;/h2&gt;    
          &lt;/h:form&gt;             
  &lt;/f:view&gt;
  &lt;/body&gt;
  &lt;/html&gt;        
  </code></pre>
  
  <p>Now,when i m trying to run this code i m getting following error:</p>
  
  <p>org.apache.jasper.JasperException: /TestAjax.jsp (line: 22, column: 7) No tag "ajax" defined in tag library imported with prefix "f"
      org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)
      org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:408)</p>
  
  <p>So,please help me how to solve it?And also help me that is  tag is allowed in JSP or not?
  Thanks in advance</p>
  
  <p>I have inclded following jar files:<strong>jsf-api,jsf-impl,jstl-api-1.2,jstl-impl-1.2</strong></p>