This is helloworld learning of JSF. Please help to resolve this issue. I tried with various sites, and did as per they suggest but could not resolve.
This is first page addPatient.jsp from where need to call method of backing bean to save that data and then redirect to view page.
faces-config.xml is as follows
PatientBackingBean.java is as follows...
And at last viewPage.jsp - no need to put it here but...
Guys please advice, I am checking it from last 3 hours but could not get any answer.
Jagadeeswara Yaramala
Ranch Hand
Joined: Jul 28, 2010
Posts: 46
posted
0
Some mistakes that I can think of:
1) In the faces-config.xml, you have put the following:
The file names are not correct as per your posting. That should be:
2) You have posted that the file name is viewPage.jsp, but that is not the same as viewPatient.jsp
3) Your backing bean has got a "dOB" as Date type. The addPatient.jsp has String being passed. That is not correct and you will get Expression Language error.