?? deal.jsp
字號:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%!//處理中文字符串
public String codeString(String s){
String str=s;
try{
byte b[]=str.getBytes("ISO-8859-1");
str=new String(b);
return str;
}
catch(Exception e){
return str;
}
}
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>無標題文檔</title>
</head>
<body>
<table width="89%" height="394" border="0">
<tr>
<%String str=codeString(request.getParameter("content"));%>
<%=str%>
<td width="78%" height="329" align="left" valign="top"> <form name="form1" method="post" action="">
<textarea name="HtmlContext" cols="60" rows="15" id="HtmlContext"></textarea>
</form></td>
<td width="22%"> </td>
</tr>
<tr>
<td height="59"> </td>
<td> </td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -