[jboss-user] [Beginners Corner] - Re: HTTP Status 405 - HTTP method GET is not supported by th

2007-04-04 Thread aurir_
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

[jboss-user] [Beginners Corner] - Re: HTTP Status 405 - HTTP method GET is not supported by th

2007-04-04 Thread aurir_
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

[jboss-user] [Beginners Corner] - HTTP Status 405 - HTTP method GET is not supported by this U

2007-04-03 Thread aurir_
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:/