I have a problem updating values with a p:commandbutton.when in p:commandButton , I am set ajax="true" all thing is Ok , but when I am set ajax="false" , value in the p:inputText do not encoding and in the next page show me ÙرÛÙ . or when send to mysql database . I am using Filter but my problem does not solve.
please Help me Thanks
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:p="http://primefaces.org/ui">
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<h:head>
<title>Facelet Title</title>
</h:head>
<h:body>
<h:form>
<p:inputText value="#{bean.name}" />
<p:commandButton value="check" ajax="false" action="page2"/>
</h:form>
</h:body>
</html>