Simple primefaces application not working

前端 未结 3 1403
说谎
说谎 2020-12-11 07:27

I am trying to build simple JSF application using primefaces but somehow primefaces components are not getting rendered properly. I dont understand what is going wrong.

3条回答
  •  爱一瞬间的悲伤
    2020-12-11 08:17

    Try changing your web.xml servlet mapping:

    
      Faces Servlet
      *.xhtml
     
    

    The way to tell if the Facelets Servlet is processing your xhtml is to look at what the browser receives. If it looks like your xhtml file then you have something mis-configured.

提交回复
热议问题