This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Although it is not advisable for markup of any kind to be generated by the servlets. Servlets should serve as controllers, not views. The servlets should perform their processing, then forward to a JSP to render the view. The CSS would be in the JSP.