I have a
jsp page that calls on a
servlet. 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 :
RequestDispatcher dispatcher = this.getServletContext().getRequestDispatcher("next.jsp");
if(dispatcher!=null){
dispatcher.forward(req,resp);
}
question : i want the next.jsp page to open on a new window, how do i do this?