我写个jsp 代码!  有个  <textarea></textarea> 多行输入筐! 输入信息后打印!
我在多行输入框中输入的 信息是:
你好 北京!
          你好中国!
                    你好2008!
但是打印的结果却是
你好 北京! 你好中国! 你好2008!                          
下面是我的代码 谁帮我改写 谢谢!(好象是用 Sring 的replaceAll方法 改字符 但是具体怎么改不知道)
//test10.jsp<%@ page language="java" contentType="text/html; charset=gb2312"
pageEncoding="gb18030"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<h1 align="center"><font size="15" color="blue">JIE&KOBE-HOME</font></h1>
<hr>
<center>
<form action="test11.jsp" method="post" />
<table>
<tr>
<td>个人信息:</td>
<td colspan="2"><textarea name="info" cols="50" rows="5"></textarea></td>
<tr>
<td><input type="submit" value="提交"/></td>
<td><input type="reset" value="重设"/></td>
</tr>
</body>
</html>//test11.jsp
<%@ page language="java" contentType="text/html; charset=gb2312"
pageEncoding="gb18030"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body><%
request.setCharacterEncoding("gb2312");
String info = request.getParameter("info");
%>
<%= info %>
</body>
</html>