title: How requestdispatcher will work for rest service
body: <p>In servlet we can use requestdispatcher and it will forward from servlet to servlet or html file.but i tried this requestdispatcher in rest service.its not forwarding from service 1 to service 2.its just stop in service 1 not forwarding. i'm getting 404 error in client side.so how i can achieve this in rest service.following the code</p>
  
  <pre><code>RequestDispatcher rd = request.getRequestDispatcher("/v1/status1/toreply1"); 
  rd.forward(request, response);
  </code></pre>
  
  <p>anything wrong in my coding..?please correct me if i'm wrong</p>