i have a
servlet named ServerReq.java and in which there is a piece of code which calls for another servlet.
here is the snippet
public void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException,java.io.IOException
{
response.setContentType("text/html");
java.io.PrintWriter out = response.getWriter();
out.println("<html>");
out.println("<head>");
out.println("<title>Servlet</title>");
out.println("</head>");
out.println("<FORM method =post action=
http://localhost:8080/d/DisplayTasks>"); out.println("<body>");
out.println("<SELECT id=select1 name=select1 >");
can someone help me and tell me if the part below has been properly written:
out.println("<FORM method =post action=
http://localhost:8080/d/DisplayTasks>"); or another war to link a servlet to another one
thanks