11 2013 档案

摘要:第一天的学习在这http://www.cnblogs.com/tobecrazy/p/3444474.html2.jsp 基础知识Jsp页面中的Java脚本主要有3部分:声明(Declaration)、表达式(Expression)和脚本代码段(Scriptlet),三种形式的Java脚本语法都是结尾Jsp页面中数据和方法声明声明语法: 定义整型变量注意:功能语句不能出现在声明区域中声明变量、对象和方法 the value of b is the value of c is the date of today 输出表达式... 阅读全文
posted @ 2013-11-27 22:07 to be crazy 阅读(1632) 评论(0) 推荐(0) 编辑
摘要:1.Servletservlet是运行在web server或 application server端的Java程序,主要用于在服务器端产生动态内容。servlet 在服务器端主要有以下作用读取客户端发送的显示和隐式数据生成结果向客户端发送显示数据和隐式数据servlet是Java web 合心部分servlet的优点: 可移植性强 功能强大 高性能 安全性高2.创建一个Java web project打开myeclipse 新建一个web project 输入项目名字,点Finish 双击展开index.jsp添加如下代码,html格式的 和或者在java 风格的注释 和 o... 阅读全文
posted @ 2013-11-26 22:36 to be crazy 阅读(1320) 评论(0) 推荐(2) 编辑
摘要:#!/bin/bashfor ((i=30;i/dev/null #ping -c 172.31.0.30 ~172.31.0.59if [[ $? -eq 0 ]] #if up $?==0then echo "172.31.0.$i is alive"else echo "172.31.0.$i isn't up"fidone监控局域网的主机是否up,可以使用ping命令,如果ping 通$?等于0,ping不通 返回非0 阅读全文
posted @ 2013-11-26 10:38 to be crazy 阅读(447) 评论(0) 推荐(0) 编辑
摘要:刚才在学习Java 使用properties类,遇到这样的错误:Cannot make a static reference to the non-static method getClass() from the type Object以前使用过getClass,不晓得怎么用的,后来在stackoverflow看到同样的问题I have a class that must have some static methods. Inside these static methods I need to call the method getClass() to make the followin 阅读全文
posted @ 2013-11-03 23:10 to be crazy 阅读(4125) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示