Can anyone help me out in getting rid of this error
i have developed simple example to demonstrate a4j:support
i'm finally stuck up with and error, not able to proceed furture.
below is the jsp template
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
repeater
<f:view>
<h:form>
<h:inputText size="50" value="#{userBean.name}" >
<a4j:support event="onkeyup" reRender="rep"/>
</h:inputText>
<h:outputText value="#{userBean.name}" id="rep"/>
</rich:panel>
</h:form>
</f:view>
in the web.xml i have declared the necessary tags.
but even then i'm getting the below error
com.sun.facelets.FaceletException: Error Parsing /pages/echo.jsp: Error Traced[line: 1] The markup in the document preceding the root element must be well-formed.
at com.sun.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:234)
at com.sun.facelets.compiler.Compiler.compile(Compiler.java:105)
Please help out in getting rid of this sting.
i have been using tomcat5.5 and richfaces3.1
Thanks in advance for the help
You using facelets and JSP syntax. It's wrong.