Version 1

    Hi all,

     

    I'm trying a very simple JSF application in JBOSS AS 6.1. My JSP file looks like this:

     

     

    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

    <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>

    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>

     

     

    <f:view>

        <h:form>

            <center>

     

    ...

    ...

    ...

    <h:commandButton id="refreshLink" value="Refresh">

        <f:ajax render="messages"/>

    </h:commandButton>

     

     

     

            </center>

        </h:form>

    </f:view>

     

     

    The system keeps throwing out this error:

     

    /main.jsp(62,4) No tag "ajax" defined in tag library imported with prefix "f"

     

     

    Please help me. I'm stuck here for a couple of days already. thanks a lot.