web.xml:
application-Context.xml:
faces-config.xml:
User.java:
UserDAO:
UserBean (as my backing bean) :
index.jsp:
wyswietl.jsp:
After running application,
jsf works, in my mysql it creates two tables as I wanted, but I can't save any users

no matter how many i add new user from my web application, it doesn't work.