<html> <title>form</title> <script type="text/javascript"> function test(){ var f = document.getElementsByTagName("form")[0]; f.action=f.action+"id="+document.getElementById("input").value; a…
方法一: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=g…
今天测试struts时仿照书上写了一个小的表单提交代码 <html:form action="helloa.do" method="post"> <html:submit value="提交"></html:submit> </html:form> 报 Form bean not specified on mapping for action: "helloa.do"错. str…