码迷,mamicode.com
首页 >  
搜索关键字:stacking context    ( 11869个结果
org.apache.catalina.util.DefaultAnnotationProcessor cannot be cast to org.ap解决方案
非常可能是因为tomcat的lib文件夹jar包和项目的lib文件下的jar包冲突了把项目下lib文件下和tomcat的jar的重复的全部删除。注意,如果你是先建flex工程然后转成web形式的,请把项目中tomcat类库删除,不然还会冲突第二种解决办法修改了tomcat里的context.xml文...
分类:其他好文   时间:2014-07-22 22:58:14    阅读次数:159
日历上添加活动通知(Asp.net)
///using System;using System.Web;using System.Data;public class DHallZTinfo : IHttpHandler{ public void ProcessRequest(HttpContext context) { ...
分类:Web程序   时间:2014-07-22 22:54:15    阅读次数:246
Android简单登陆页面
布局:线性布局+相对布局日志打印:利用LogCat和System.out.println打印观察。Onclick事件是采用过的第四种:在配置文件中给Button添加点击时间涉及知识:通过上线文context获得文件的路径和缓存路径,保存文件布局代码: ...
分类:移动开发   时间:2014-07-18 23:29:29    阅读次数:402
Bitmap上写文字
public Bitmap drawTextToBitmap(Context mContext, int resourceId, String mText) { try { Resources resources = mContext.getResources(); float scale = resources.getDisplayMetri...
分类:其他好文   时间:2014-07-18 21:23:53    阅读次数:258
OE context 传参数
来自:http://shine-it.net/index.php/topic,16360.0.html 有个需求想many2one字段关联显示的value在各个模块显示不同的值。 如果直接该rel_name 相当与改了全局的。所有关联的都变了。 @重庆-mrshelly 说可以通过context设置...
分类:其他好文   时间:2014-07-18 20:26:58    阅读次数:186
JavaWeb 项目中的绝对路径和相对路径以及问题的解决方案
最近在做JavaWeb项目,总是出现各种的路径错误,而且发现不同情况下 /  所代表的含义不同,导致在调试路径上浪费了大量时间。 在JavaWeb项目中尽量使用绝对路径  因为使用绝对路径是绝对不会出错的,而使用相对路径可能会出现错误。 首先 说下在JavaWeb项目中的绝对路径和相对路径的含义 绝对路径: 相对于当前Web应用根路径的路径  也就是任何路径都必须要带上context...
分类:编程语言   时间:2014-07-18 17:07:30    阅读次数:213
界面跳转:Intent的使用
1)A-->BstartActivity(Context,.class);2)A-->B-->AA:startActivityForResult(intent,0);(此处的0为requestCode)B:a)Intentintent=newIntent();/Intentintent=getIntent();b)intent.putExtra("","");c)setResult(0,intent);(此处的0为resultCode)finish();(销..
分类:其他好文   时间:2014-07-17 09:06:31    阅读次数:247
[WPF]DataGrid C#添加右键弹出选择菜单
private void dataGrid_MouseRightButtonDown(object sender, MouseButtonEventArgs e) { ContextMenu context = new ContextMenu(); ...
分类:其他好文   时间:2014-07-16 16:52:05    阅读次数:318
Android下文件的读写
文件的保存 public static boolean saveUserInfo(Context context, String username, String password) { try { // 定义一个文件路径对象 File file = new File(context.getFilesDir(), "info.txt"); // 定义一个文件的写入流...
分类:移动开发   时间:2014-07-16 14:06:44    阅读次数:222
spy memcached spring demo
spring 配置文件 -->测试类import org.springframework.context.ApplicationContext;import org.springframework.context.support.ClassPathXmlApplicationContext;impo...
分类:编程语言   时间:2014-07-16 12:12:07    阅读次数:256
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!