Emitting markup from a servlet isn't advantageous. It's best to use a servlet as the controller, and forward to a JSP to render the view. Each of the servlet and JSP serve a distinct and important role in the servicing of a request.
Is the application you talk about from "pre JSP" era? Does it use JSP at all? I have had the unwanted experience of having to debug old Servlet applications that do not use JSP.
Joined: Nov 08, 2010
There is no JSP in the app.
very confusing. Not used to this kind of architecture , if it can be called architecture.
Joined: Apr 15, 2008