站内搜索
最近浏览
- WinCE Security...
- xdebug配置说明
- VC++ 获取文件的创建、修...
- ASP进度条
- 简单代理服务器C代码实现(S...
- 程序设计竞赛试题选(02)
- 如何在ASP程序中打印Acc...
- UTF-8和16进制区间
- ASP实用技巧:强制刷新和判...
- 运行中程序删除自己的方法
- asp提高首页性能的一个技巧
- [J2EE]J2EE 应用服务器技术
- VB变量命名规范
- C语言常见错误小结
- (摘自网络)如何在IIS中调...
推荐文章
热文排行
JSP中处理中文传递的代码
<%!
// 处理中文的函数
public String chstr(String str){
try{
String temp_p=str;
if(temp_p==null){temp_p="";}
byte[] temp_t=temp_p.getBytes("ISO-8859-1");
String temp=new String(temp_t);
return temp;
}catch(Exception e){
return "null";
}
}
%>
放在接受文件头就可以.
[wangjy17908]
添加时间:2007-08-03