This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
When i run the application i get following error.
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
JSF doesn't work with HTML (or xhtml). It works with JSF View templates. Depending on how things are set up, JSF may generate HTML or XHTML, but one of the advantages of JSF is that the renderers are plug-replaceable components. You could just as easily render a PDF.
The confusion here is because ".xhtml" is the popular file extension for Facelets templates, but Facelets templates aren't (X)HTML, they're JSF XML.
The Facelets renderer is generating an XHTML doctype and you're providing one manually, and that's one more DOCTYPE than the web browser wants to see.
Customer surveys are for companies who didn't pay proper attention to begin with.
I only got this .
The Facelets renderer is generating an XHTML doctype and you're providing one manually, and that's one more DOCTYPE than the web browser wants to see.
Other points have gone over my head.
I removed all the the doctype line and added
in web.xml
and problem is fixed. But i am interested to understand other points as well. i am new to jsf,icefacses.