1<html>
2<head>
3<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
4<title>无标题文档</title>
5</head>
6<body>
7<form action="t.asp" method="post" name="form1">
8<p>
9<textarea cols="50" name="textarea" rows="10"></textarea>
10</p>
11<p> <input name="Submit" type="submit" value="提交"/>
12<input name="Submit2" type="reset" value="重置"/>
13</p>
14</form>
15</body>
16</html>
< %@LANGUAGE="VBSCRIPT " CODEPAGE="936"%>
1<html>
2<head>
3<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
4<title>无标题文档</title>
5</head>
6<body>
dim msg
msg=request.Form("textarea")
msg=replace(msg,vbcrlf,"<br/>")
msg=replace(msg," "," ")
response.write msg
1
2</body>
3</html>