`
文章列表
文件压缩 Linux系统常见的压缩命令: *.Z      compress 命令压缩的档案; *.bz2    bzip2 命令压缩的档案; *.gz     gzip 命令压缩的档案; *.tar    tar 命令打包的资料,并没有压缩过; *.tar.gz tar 命令打包的档案,其中并 ...
文件系统 磁盘的物理组成: 首先看看硬盘的物理组成,就硬盘的物理元件来说,硬碟其实是由许许多多的圆形硬碟盘所组成的, 依据硬碟盘能够容纳的资料量,而有所谓的单碟 (一块硬碟里面只有一个硬碟盘) 或者是多碟 (一块 ...
JSP基本语法 jsp的语句一般分为6种:编译语句,声明语句,程序语句,注释语句,运算表达式和动作语句。 编译语句:<%@ 指示名 [属性="属性值"]%>,如<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1" %> <%@ page contentType="text/html;charset=GBK" %> <form name="" act ...
Array 数组 var myArray = new Array(); //创建一个空数组 var myArray = new Array(5); //创建一个大小为5数组,此时如果直接引用myArray[0],会返回undefined。 var myArray = new (0,1,2,3); //创建一个初始值为0123的数组 var myArray = [0,1,2,3]; //创建一个初始值为0123数组 数组只要创建了,其长度是可以改变的,比如,创建了长度为5的数组,可以对其下标为5、6等赋值,这时长度会自动跟着改变。 但如果只是声明var myArray;则不能引用数组中的任何元素 ...
JavaScript使用var进行变量声明,变量名长度是任意的,区分大小写。变量名必须遵循以下规则: 1,第一个字符必须是英文字母或_下划线或美元符号$ 2,其他字符可以为字母,数字,下划线或美元符号,不能有空格等其他符号 3,变量名不能是保留字,如var,int,double,true JavaScript中有六种数据类型,分别是Number,Boolean,String,Object,Null,Undefined。 Number类型,包括整数(可以用十进制,八进制[以0开头],十六进制表示[以0x或0X开头],),浮点数及NaN(非数)值,浮点数可以采用科学计数表示 Boolean有tru ...
1,列表节点操作 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html ...
window对象的方法,resizeTo和moveTo<!DOCUTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional/EN" "http://www.w3.org/TR/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="t ...
方法1: 你中毒了,系统中有个进程在监测你的命令,看到CMD就关闭,可以在任务管理中看看有没有可以进程,关掉他,应该可以打开,如果还不行,那就是已经注入系统进程。杀毒就很困难了。重做系统好一点。 方法2:注册表:HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun里的值清空,就是用del把里面的值删除掉。 方法3:你可以去系统盘CTRL+F查找CMD,你要是找到两个以上的CMD,其中有一个是cmd.bat、cmd.vbs之类的。那恭喜你,你中标了 方法4:被设置为自动退出了.这样就可以打开: 开始-运行-输入: cm ...
数据库部分 Q: What is SQL? A: SQL stands for 'Structured Query Language'.   结构化查询语言 Q: What is SELECT statement? A: The SELECT statement lets you select a set of values from a table in a database. The values selected from the database table would depend on the various condi ...
Q: What are the different kinds of enterprise beans? EJB中都有哪些bean?无状态会话bean,有状态会话bean,实体bean,消息驱动bean A: Stateless session bean- An instance of these non-persistent EJBs provides a service without storing an interaction or conversation state between methods. Any instance can be used for any client. ...
Q: Explain the life cycle methods of a Servlet. A: The javax.servlet.Servlet interface defines the three methods known as life-cycle method. public void init(ServletConfig config) throws ServletException public void service( ServletRequest req, ServletResponse res) throws ServletException, IOExcept ...
Q: What is a output comment? (可以在客户端的页面的源码中出现的注释) A: A comment that is sent to the client in the viewable page source.The JSP engine handles an output comment as uninterpreted HTML text, returning the comment in the HTML output sent to the client. You can see the comment by viewing the page source ...
Q: What is the Collections API? A: The Collections API is a set of classes and interfaces that support operations on collections of objects. 集合API时一系列类和接口,用于支持对集合对象的操作。 Q: What is the List interface? A: The List interface provides support for ordered collections of objects.    List接口提供对有序对象集合 ...
目录操作命令: cd(Change Directory)∶变换目录 cd ~username,进入某个用户的家目录 cd ~,回到当前用户的家目录 cd,不加任何参数,也是回到当前用户的家目录 pwd(Print Working Directory)∶显示目前的目录 mkdir(make directory) ∶建立一个新的目录 但请注意,默认情况下,你所需要的目录得一层一层的建立才行。 但可以使用-p参数,如mkdir -p hello/hello1,在当前目录下建立两级目录hello/hello1 rmdir∶删除一个空的目录 目录需要一层一层的删除才行!而且 被删除的目录里面必 ...
ubuntu默认root密码 安装完Ubuntu后忽然意识到没有设置root密码,不知道密码自然就无法进入根用户下。到网上搜了一下,原来是这麽回事。Ubuntu的默认root密码是随机的,即每次开机都有一个新的root密码。我们可以在终端输入命令 sudo passwd,然后输入当前用户的密码,enter,终端会提示我们输入新的密码并确认,此时的密码就是root新密码。修改成功后,输入命令 su root,再输入新的密码就ok         Linux的文件属性和目录配置 Linux的帮助命令是   man 命令名 在我们 Linux 系统当中,预设的情况下,所有的系统上的帐号与一般身 ...
Global site tag (gtag.js) - Google Analytics