This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
How do you call one servlet from another without using a href or anything like that, i.e. one servlet does a search, gets some results back and then calls another servlet to display them. Thanks, Brendan
posted 15 years ago
Use the Request Dispatcher to fwd the request to the other servlet or use the response.sendRedirect method Both will work Sahil p.s: Careful about the fall-through nature of the 2 calls