Hi, I want to call a JSP from servlet in a specified frame. Is there any method available in Servlet? If not, how can this be achieved? Nature of Problem: ------------------ I'm having three frames. One at left and two at Right. From the bottom frame(right), i'm calling a servlet for processing. The result should be shown in the combined right frame. Any help in this would be very much helpful.
Hi, calling jsp from servlet is just like calling another servlet. Hence you can make you of method available in HttpServletResponse(i.e., sendRedirect) or method in RequestDispatcher (i.e.,include ,forward) according to your need. -arun
Sharing is learning
Joined: May 08, 2002
Thanks Arun. My question was not that exactly. I'm using that method only. But i want to specify the target for the resultant JSP. How can this be done?