title: How to pass data to jsp and open it in new window from servlet
body: <p>This is my Problem: I have a jsp with a table using datatables. It displays some users with editing buttons at the end of the table. If you hit the "edit" button, it calls a javascript function getting the userID from the table and pass it via ajax <code>$post.</code> method to a servlet. 
  The servlet receives data from database via hibernate and maps it into objects.
  My code works until this point. Now i want to pass the objects to a jsp and open it in a new window ( a popup or something with a form inside for setting them with data from objects to edit the called user).</p>
  
  <ul>
  <li>Can i do it from the servlet? Or do i have to do it from ajax when
  the call succeed?</li>
  </ul>