摘要: index.jsp org.springframework.web.context.ContextLoaderListener contextConfigLocation classpath:applicationContext.xml mvc org.springf... 阅读全文
posted @ 2015-12-08 15:00 黑土白云 阅读(621) 评论(0) 推荐(0) 编辑
摘要: 我遇到的是Form表单提交到servelet处理时遇到的问题:(1)//表单的内容(2)对应的处理用户请求的servlet类为HelloServlet.java;(3)配置web.xml文件:③servlet/HelloServlet③servlet/①welcome然后在login.jsp中应该是... 阅读全文
posted @ 2015-12-08 14:55 黑土白云 阅读(1199) 评论(0) 推荐(0) 编辑
摘要: 1.font 配置文字大小2.InstallJRE 配置jdk3.tomcat 配置tomcat的路径 记得tomcat下的JDK也要对应4.validation 全部验证去掉5.workspace 编码集改成utf-86.jsp 编码改成utf-87.gengral---editors--fi... 阅读全文
posted @ 2015-12-05 22:27 黑土白云 阅读(416) 评论(0) 推荐(0) 编辑
摘要: public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setC... 阅读全文
posted @ 2015-11-30 16:47 黑土白云 阅读(156) 评论(0) 推荐(0) 编辑
摘要: public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setC... 阅读全文
posted @ 2015-11-30 16:46 黑土白云 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 第一种:代码setting_view.xml public class MainActivity extends Activity {@Overrideprotected void onCreate(Bundle savedInstanceState) { super.onCreate(sa... 阅读全文
posted @ 2015-11-25 01:37 黑土白云 阅读(145) 评论(0) 推荐(0) 编辑
摘要: /** * in cases where we need a subset of a list (say when we need * 500 elements at a time), we shall use this class. * @author blmi1 * */public clas... 阅读全文
posted @ 2015-11-24 14:13 黑土白云 阅读(419) 评论(0) 推荐(0) 编辑
摘要: public class AddressDao { // 查询号码的归属地信息 // 13512345667 0101234567 public static String getAddress(String number) { String address = number; SQLiteDa... 阅读全文
posted @ 2015-11-24 13:13 黑土白云 阅读(324) 评论(0) 推荐(0) 编辑
摘要: public class OutCallReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { String number = getResultD... 阅读全文
posted @ 2015-11-23 13:33 黑土白云 阅读(139) 评论(0) 推荐(0) 编辑
摘要: public class BootCompleteReceiver extends BroadcastReceiver { private static final String TAG = "BootCompleteReceiver"; @Override public void onReceiv... 阅读全文
posted @ 2015-11-23 13:32 黑土白云 阅读(212) 评论(0) 推荐(0) 编辑