This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
You should import JspWriter, of course. From whatever package it's in... I haven't ever written Java code which takes a JspWriter as a parameter and writes HTML to it, and I never will, so I don't have any examples available. However if you do a web search for the term "jspwriter" using Google or whatever search engine you prefer, I predict that the first link will tell you what package it's in.