Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Primefaces Warning

Tags:

jsf

primefaces

I am using Primefaces. I am trying to add a value from xhtml to back end. The moment I start the server it gives me the warning

May 31, 2013 8:56:38 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2341 ms
May 31, 2013 8:56:39 PM org.apache.catalina.core.ApplicationContext log
INFO: No state saving method defined, assuming default server state saving

as a result, none of the functions getting executed. After searching in the forum for a long time, i found something and inserted

<context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
</context-param>

in my web.xml. Still same problem.

Any help appreciated...

like image 202
Raghavenda Bhat Avatar asked Feb 27 '26 03:02

Raghavenda Bhat


1 Answers

I found the answer myself. I am having a page which is the index page which just includes other pages.

<h:form> <ui:include src="aaa/ddd/fff.xhtml" /></h:form>

like this. SO thats why this warning was coming. Then when I went to the actual page it did not show the warning and everything working perfectly.

like image 85
Raghavenda Bhat Avatar answered Mar 01 '26 21:03

Raghavenda Bhat



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!