File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Getting MEAN with Mongo, Express, Angular, and Node
this week in the
opening a new window from servlet
Joined: Feb 26, 2004
Jul 16, 2004 01:52:00
I have a
page that calls on a
. The servlet does something, like connect to a database, then get some data. after that, the servlet calls another jsp page.
my code for calling the new jsp page :
dispatcher = this.getServletContext().getRequestDispatcher("next.jsp");
question : i want the next.jsp page to open on a new window, how do i do this?
Joined: Apr 14, 2004
Jul 16, 2004 03:42:00
Servlet code can do absolutely no client browser manipulation. Why? Because its
Joined: Mar 06, 2001
Jul 16, 2004 04:22:00
I'll move this to the
Joined: Nov 08, 2001
Jul 16, 2004 06:17:00
<script> asdf = window.open('blah.jsp'); </script>
One problem, people with pop up blockers are going to block this window from opening.
subject: opening a new window from servlet
Rendering a View before the Servlet finishes
Problem retrieving session value in jsp pagess
Transfer Control from one jsp page to another jsp page
Get return value from servlet inside JSP page...
call a servlet from a jsp????
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015