aspose file tools
The moose likes Servlets and the fly likes Openeing new window from Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Openeing new window from Servlet" Watch "Openeing new window from Servlet" New topic

Openeing new window from Servlet

Dhruva S

Joined: Jul 27, 2001
Posts: 1
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 ?
karl koch
Ranch Hand

Joined: May 25, 2001
Posts: 388
i dont see any other solution (but would be glad if someone could point one out) than opening the page with javascript.
make the page having the javascript code to open a window.
It is sorta covered in the JavaRanch Style Guide.
subject: Openeing new window from Servlet