Bear Bibeault wrote:You should also be declaring your JSP/HTML as HTML5, not HTML4. You are apparently using some pretty old and dated source material.
Thanks for quick response, I changed my web.xml specifying HTML5 in it, but it didn't help, same output:( Currently reading Head First JSP & Servlets.
Bear Bibeault wrote:
The HTML5 declaration is for the HTML (generated by the JSP) and has nothing to do with the web.xml.
Read the FAQ I linked to; it will show you how to properly configure the web.xml.
Thanks, I read it... Probably the problem was with my Eclipse's workspace: I deleted one messy project in it, reconfigured Tomcat server and cleaned my project and it works!