Fork me on GitHub
摘要: JSP中一共预先定义了9个这样的对象,分别为:request、response、session、application、out、pagecontext、config、page、exception 1、request对象 request 对象是 javax.servlet.httpServletReq 阅读全文
posted @ 2016-02-29 20:14 LinkinStar 阅读(189) 评论(0) 推荐(1)
摘要: 首先是定义的一般规则,类名首字母全部大写,常量全部大写用下划线分隔,变量用驼峰形式。注意使用long赋值用L时不能写小写的L要写大写的,不然会和数字“1”傻傻分不清。 下面是举例: public class Client{ public static final int SUM_PEOPLE_NUM 阅读全文
posted @ 2016-02-29 16:57 LinkinStar 阅读(694) 评论(0) 推荐(0)