I have solved the problem. There was a couple errors:
1) When creating HTTPServlet in Eclipse I checked "include doGet()" which
automatically included statement to super.get(req, res);
2) Another error that I had was very trivial. My HTML syntax was not valid.
http://validator.w3.org/ is a great
Keep in mind that when I return PLAIN TEXT:
public void doGet(HttpServletRequest request,
| HttpServletResponse response)
| throws ServletException, IOException{
| PrintWriter out = response.getWriter();
| out.println("Hellow
Hello,
405 status code will be return when you try to access an Http
method(get/post/etc...) which is not available.
I think, you are having doGet method and you are asking for doPost. If that is
the case, then by adding following code in the servlet will solve the problem.
| public void do