inappropriatus
New Member
I am trying to use php and java code for my application. I have a php page called display.php from where I invoke the servlet called Registration. At the end of the servlet code, I want the send some data back to another php page called first.php(Included in the WebContent folder). How do i achieve this?I dont want to use sendRedirect since variable passing is messy with this. I tried using RequestDispatcher. It doesnt work. Here is my code for RequestDispatcher. RequestDispatcher rd = req.getRequestDispatcher("/first.php");rd.forward(req, res);It keeps saying that DefaultServlet unavailable. How do i resolve this.