Openeing new window from Servlet

I'm using MVC architecture using a controller servlet. All requests are routed through a controller servlet. How do I open popup windows in this case. If I use java script to open new window, It will have to call my EJB from JSP which I'm trying to avoid. any suggestion ?