
java方法
zzxy001
这个作者很懒,什么都没留下…
展开
-
如何跳出框架?
看我的out.jsp <%@ page import="java.sql.*,com.lssp.team.*,java.util.*"%> <%@ page language="java" pageEncoding="utf-8"%> <%@ page contentType="text/html;charset=utf-8"%>原创 2012-05-02 21:15:43 · 184 阅读 · 0 评论 -
SimpleDateFormat使用详解
public class SimpleDateFormat extends DateFormat SimpleDateFormat 是一个以国别敏感的方式格式化和分析数据的具体类。 它允许格式化 (date -> text)、语法分析 (text -> date)和标准化。 SimpleDateFormat 允许以为日期-时间格式化选择任何用户指定的方式启动。 但是,希望用 Da...原创 2011-11-22 00:01:02 · 128 阅读 · 0 评论 -
Java出现No enclosing instance of type E is accessible. Must qualify the allocatio
最近在看Java,在编译写书上一个例子时,由于书上的代码只有一部分,于是就自己补了一个内部类。结果编译时出现:No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing instance of type E(e.g. x.new A() where x is an i...原创 2012-03-04 10:33:44 · 1116 阅读 · 0 评论