我的第一个服务器脚本:返回不全
1、以simpleform.asp存盘
<body>
Welcome
<%
response.write(request.form("fname"))
response.write(" " & request.form("lname"))
%>
</body>
2、以temp.jsp存盘
<html>
<head>
</head>
<body>
<form method="post" action="simpleform.asp">
First Name: <input type="text" name="fname" />
<br />
Last Name: <input type="text" name="lname" />
<br /><br />
<input type="submit" value="Submit" />
</form>
</body>
</html>
都放在tomcat的root下,tomcat也启动了,打开temp.jsp分别输入wang和wei,按Submit后只返回Welcome
请朋友们指点一下!!!
<body>
Welcome
<%
response.write(request.form("fname"))
response.write(" " & request.form("lname"))
%>
</body>
2、以temp.jsp存盘
<html>
<head>
</head>
<body>
<form method="post" action="simpleform.asp">
First Name: <input type="text" name="fname" />
<br />
Last Name: <input type="text" name="lname" />
<br /><br />
<input type="submit" value="Submit" />
</form>
</body>
</html>
都放在tomcat的root下,tomcat也启动了,打开temp.jsp分别输入wang和wei,按Submit后只返回Welcome
请朋友们指点一下!!!
作者: yymea 发布时间: 2011-06-16
asp??
作者: liuyuhua0066 发布时间: 2011-06-16