my client using apache tomcat server in this server form post method not working but instead am using get method its working
what the configuration am missing in web xml?
Printable View
my client using apache tomcat server in this server form post method not working but instead am using get method its working
what the configuration am missing in web xml?
when i try to submit button server said
Error code: 405
Error: Method Not Allowed
error please help
here my code
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<form method="get" action="index1.html">
<input type="text" name="test" />
<input type="submit" id="btn" value="submit" />
</form>
</body>
</html>
the method of the form should be "post":
<form method="post"..>