I have one JSP page that have a form. When the button in this form is pushed, id called my MainServlet. This is an example of my Servlet
/***** MainServlet *****
You cannot forward to two different resources at the same time.
You need to again forward from Servlet1
to myJsp.jsp
using request.getRequestDispatcher("myJsp.jsp").forward(request,response);
You cannot just directly forward two times because when you do it once, your response is already committed and client will be served with the first resource.
You can use conditional statements which will forward to proper resource depending on the proper request.