Your're using JSF 2.0 and the file has a xhtml extension. You're actually using Facelets as view technology, not JSP. Facelets is the successor of JSP.
You cannot mix Facelets with JSP tags. Get rid of all jsp: tags, they are worthless and ain't ever going to work in a Facelets page. The JSP tags are only parsed when you name the file jsp which will be picked up by servletcontainer's builtin JspServlet But since you're using JSF 2.0 with Facelets, you already have the FacesServlet for the job.
Forget JSP :).
Your're using JSF 2.0 and the file has a *. Xhtml extension. You're actually using Facelets as view technology, not JSP.
Facelets is the successor of JSP. You cannot mix Facelets with JSP tags. Get rid of all tags, they are worthless and ain't ever going to work in a Facelets page.
The JSP tags are only parsed when you name the file *. Jsp which will be picked up by servletcontainer's builtin JspServlet. But since you're using JSF 2.0 with Facelets, you already have the FacesServlet for the job.
Forget JSP :) Here's how your XHTML file should look like: Title Note that you'd like to put that input component in a , but I bet that it'll be just a test example. Also note that is perfectly legit here. You don't need the XHTML doctype.
Facelets will take care about setting the right text/html content type, UTF-8 character encoding and so on. See also: JSF/Facelets tutorial in Java EE 6 tutorial chapter 4-9 JSF 2.0 tutorial at Coreservlets.com.
Many thanks, very helpful! :) – yegor256 Jul 28 '10 at 14:31 You're welcome. – BalusC Jul 28 '10 at 14:31.
The JSP tags you use don't generate any HTML. The contentType directive affects header, not HTML.
You need to activate JSF, a common way is to point the browser to login. Jsf or faces/login.xhtml. If you don't then the file is serves unparsed to the browser.
He is seeing JSP tags unparsed, not JSF tags. – BalusC Jul 28 '10 at 14:15.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.