Answers for ""assuming the servlet is configured properly""

0

"assuming the servlet is configured properly"

Given following form:
<form action="register.do">
  <input type="text" name="Name">
  <input type="submit" value="Save"> 
</form>

and a servlet code:
public class RegisterServlet extends HttpServlet{
  pulic void doPost(HttpServletRequest req, HttpServletResponse res) {
  // registration logic goes here
  return;
}
}

With the above code, assuming the servlet is configured properly and registration logic works good, trying to register user fails. 
Choose one reason.
Posted by: Guest on October-21-2020

Code answers related to ""assuming the servlet is configured properly""

Browse Popular Code Answers by Language