我无法让页面工作.我有我的表单方法发布和我的servlet实现doPost()
.但是,它一直向我显示我不支持POST方法.
我只是想做一个简单的网站,并将值插入我的MySQL数据库.
*type Status report
message HTTP method POST is not supported by this URL
description The specified HTTP method is not allowed for the requested resource (HTTP method POST is not supported by this URL).*
Run Code Online (Sandbox Code Playgroud)
静态页面:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/DTD/xhtml-mobile10.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>XHTML Mobile Profile Document</title>
<!--
Change href="style.css" below to the file name and
relative path or URL of your external style sheet.
-->
<link …
Run Code Online (Sandbox Code Playgroud)