-
1. Re: No tag "ajax" defined in tag library
periklis_douvitsas Jul 17, 2012 5:03 AM (in response to flyingheart)Hi,
Some thoughts that may help you
With jsf 2, the container is going to be looking for xhtml files by default. Did you change it to see jsp pages as well?
have a look at these pages
http://www.theserverside.com/tip/Working-with-JSPs-in-JSF-20
http://stackoverflow.com/questions/3936110/mixing-jsp-and-xhtml-facelets-in-jsf2-project-possible
Also, are you sure you are using jsf 2 and not the jsf 1.1 library that does not suport f:ajax?
In your lib directory do you have the correct library?
Does your faces-config.xml file is configured properly for jsf 2?Do you have something like this at the faces-config.xml file?
<faces-config 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-facesconfig_2_0.xsd"
version="2.0"
Hope this helps