要将Servlet中的
response.setContentType("text/html;charset=utf-8")这行代码放在 PrintWriter out =
response.getWriter()之前。
分类:
Web程序 时间:
2014-04-29 23:03:34
阅读次数:
549
/** * Copyright 2002-2006,2009 The Apache Software
Foundation. * * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use ....
分类:
其他好文 时间:
2014-04-29 21:16:42
阅读次数:
532
public abstract
classAsyncTaskextendsObjectjava.lang.Object?android.os.AsyncTaskClass
OverviewAsyncTask enables proper and easy use of the UI thread. ...
分类:
移动开发 时间:
2014-04-29 21:05:32
阅读次数:
748
cd ~/.ssh/如果目录不存在就新建一个 mkdir ~/.ssh制作公匙
ssh-keygen -t rsa默认会生成id_rsa.pub的公匙将公匙推送到指定的服务器 scp id_rsa.pub
username@server:~/.ssh/id_rsa.pub登录到服务器 ssh use...
分类:
系统相关 时间:
2014-04-29 16:01:32
阅读次数:
625
3.1 Installing mod_pythonTo install mod_python,
we simply run:yum install mod_python3.2 Configuring ApacheNow we must configure
Apache so that it can ...
分类:
编程语言 时间:
2014-04-28 04:52:46
阅读次数:
735
1.创建数据库:create database database_name;2.选择数据库:use
database_name;3.创建表:create table tablename(column1 data_type1, column2
data_type2,...,columnn dataty...
分类:
数据库 时间:
2014-04-28 02:34:53
阅读次数:
560
Two ways to use sudo command for a standard
user account:First,If you want to use sudo command for a standard user account,
then you need to add this ...
分类:
其他好文 时间:
2014-04-28 00:42:49
阅读次数:
616
【一些编程语录】1、If debugging is the process of
removing software bugs, then programming must be the process of putting them
in.– Edsger Dijkstra 如果调试程序是移除臭....
分类:
其他好文 时间:
2014-04-27 22:56:14
阅读次数:
543