08-13 07:36:31.396: W/System.err(9814): java.io.IOException
08-13 07:36:31.416: W/System.err(9814): at android.content.res.AssetManager.readAsset(Native Method)
08-13 07:36:31.416: W/System.err(9814...
分类:
移动开发 时间:
2014-08-13 19:04:27
阅读次数:
386
今天刚接触web,在用jsp和servlet做一个简单的登陆的时候在Form表单action属性和method属性的一些问题;
我遇到的是Form表单提交到servelet处理时遇到的问题:
(1)
//表单内容
username:
password:
(2)对应的处理用户请求的servlet类为HelloServlet.j...
分类:
其他好文 时间:
2014-08-13 18:49:07
阅读次数:
152
设计模式-使用php实现工厂方法模式【概要】创建型模式定义一个用于创建对象的接口,让子类决定实例化哪一个类。Factory Method使用一个类的实例化延迟到其子类【GOF95】【结构图】【主要角色】抽象产品(Product)角色:详细产品对象共同拥有的父类或接口详细产品(Concrete Pro...
分类:
Web程序 时间:
2014-08-13 18:35:56
阅读次数:
277
static void a2() { StackFrame frame = new StackFrame(1); //偏移一个函数位,也即是获取当前函数的前一个调用函数 MethodBase method = frame.GetM...
分类:
其他好文 时间:
2014-08-13 18:00:36
阅读次数:
182
一、jQuery.Cookie.js插件是一个轻量级的Cookie管理插件。 特别提醒,今日发现一个特别的错误,google浏览器提示:has no method $.cookie。火狐浏览器提示:$.cookie is not a function;调试了半天,终于找到原因,如果同一个页面两次或....
分类:
Web程序 时间:
2014-08-13 14:42:36
阅读次数:
225
在开发工作共我们往往会遇到一个表单需要包含多个action不同的提交动作,这时候就不能在使用submit按钮来进行提交了,下面提供通过js来实现这一功能的方法 <form?name="demo"?method="post">
<!--YOUR?DATA?A...
分类:
其他好文 时间:
2014-08-13 10:46:45
阅读次数:
138
return "forward:index.jsp"; //转发return "forward:user.do?method=reg5"; //转发return new ModelAndView("/toList");//转发return "redirect:user.do?method=reg5"...
分类:
编程语言 时间:
2014-08-13 10:06:55
阅读次数:
252
- (void)applicationDidEnterBackground:(UIApplication *)application
{
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state informa...
分类:
移动开发 时间:
2014-08-13 01:19:44
阅读次数:
179
<formaction=""method="post"enctype="multipart/form-data">
请选择要上传的文件:<inputtype="file"name="myFile"value=""/><inputtype="submit"value="开始上传"/>
</form>
<?php
header("content-type:text/html;charset=utf-8");
echo"<pre..
分类:
其他好文 时间:
2014-08-12 17:38:15
阅读次数:
204
Forms and their child elements should not use input names or ids that conflict with properties of a form, such as submit, length, or method. Name conf...
分类:
其他好文 时间:
2014-08-12 16:39:34
阅读次数:
230