I'd definitely say learn the basics though I prefer to use a framework.
I think most frameworks refer back to the servlet design/logic basics either to explain the inner workings of the framework itself (
struts documentation describes its controller servlet and compares
JSP include logic with Tiles) or how the framework aims to overcome perceived problems with Servlets and JSP.
Do all Java web developers eventually gravitate to a framework though ?
Chris