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
I am new to Jboss and J2EE and I get HTTP Status 405 when accessing my simple
servlet. I've noticed that I get this error only when I try to return HTML and
not plain text. When I return plain text response doGet works fine. What do I
do to solve this problem???
View the original post :
http:/