元素可以把逻辑上相关的一组Action、Result、Intercepter等元素封装起来,形成一个独立的模块,package可以继承其他的package,也可以作为父包被其他的package继承,比如“”中,helloworld这个包就继承了struts-default这个包。
元素有如下属...
分类:
其他好文 时间:
2014-05-19 19:52:20
阅读次数:
311
一、Entity Framework以下简称EF安装EF4.3的步骤是首先安装VS扩展
NuGet,然后再使用NuGet安装EF程序包安装完NuGet就可以安装EF了,有两种方式可以安装EF:1.使用命令install-package
EntityFramework -Pre但出现如下错误:2.使用...
分类:
其他好文 时间:
2014-05-19 17:20:00
阅读次数:
6892
1 package zen.funny 2 { 3 import
com.greensock.TweenLite; 4 5 import flash.display.Sprite; 6 import
flash.display.StageAlign; ...
分类:
其他好文 时间:
2014-05-19 17:16:36
阅读次数:
444
package com.dhy.phonedial;
import android.app.Activity;
import android.app.Fragment;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.LayoutInflate...
分类:
移动开发 时间:
2014-05-18 15:58:42
阅读次数:
342
MainActivity如下:
package cc.cn;
import java.util.HashMap;
import org.json.JSONObject;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import com.android.volley....
分类:
移动开发 时间:
2014-05-18 15:18:31
阅读次数:
297
# monkey
usage: monkey [-p ALLOWED_PACKAGE [-p ALLOWED_PACKAGE] ...]
[-c MAIN_CATEGORY [-c MAIN_CATEGORY] ...]
[--ignore-crash...
分类:
移动开发 时间:
2014-05-18 10:09:09
阅读次数:
314
package com.rgy.Test;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.J...
分类:
编程语言 时间:
2014-05-18 07:19:51
阅读次数:
344
JAVA中可以将输出的位置设置在内存上,此时使用ByteArrayInputStream,ByteArrayOutputStream来完成输入,输出功能。
利用这两个类实现大小字母的转换:package lianxijihe;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import ja...
分类:
其他好文 时间:
2014-05-18 07:09:44
阅读次数:
232
假如现在有一个Button按钮,Button按钮上有click和doubleclick事件。两个不同的事件需要进行不同的处理,这时候就需要为相应的事件注册Listener了。修改后的目录组织结构如下:1、事件基本类的编写如下:package com.event.test02;
public class Event {
public String action; // 事件名称
public...
分类:
编程语言 时间:
2014-05-18 06:17:22
阅读次数:
332
MainActivity如下:
package cc.y;
import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import android.os.Bundle;
import and...
分类:
移动开发 时间:
2014-05-18 03:54:44
阅读次数:
365