A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
opening a new window from servlet
Joined: Feb 26, 2004
Jul 16, 2004 01:52:00
I have a jsp 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.
I agree. Here's the link:
subject: opening a new window from servlet
Transfer Control from one jsp page to another jsp page
Problem retrieving session value in jsp pagess
call a servlet from a jsp????
Rendering a View before the Servlet finishes
Get return value from servlet inside JSP page...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014