You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Paul Foxton <pa...@network-sol.com> on 2001/10/04 11:44:07 UTC

RE: -- http 405, can not execute servlet

change the method in your form tag:

<FORM ACTION="/servlet/SnoopServlet" METHOD="get">

> -----Original Message-----
> From: Sam [mailto:iskoo@ms45.hinet.net]
> Sent: 04 October 2001 11:04
> To: tomcat-user@jakarta.apache.org
> Subject: -- http 405, can not execute servlet
> 
> 
> Hi everybody
> 
> I can execute Servlet Exaxmple follow the command,
> http://localhost:8080/servlet/SnoopServlet
> 
> I try to make a html file
> <FORM ACTION="/servlet/SnoopServlet" METHOD="post">
> <INPUT TYPE=SUBMIT VALUE="submit">
> </FORM>
> 
> The Server can not accept the request.
> REPLY: (405 Server does not support requested method)
> 
> However after I RELOAD the page, it is work well.
> Why?? why RELOAD is necessary.
> 
> --Sam
>