上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 22 下一页

2015年11月25日

如何下载?

摘要: 先上传文件,再遍历文件,最后下载文件 阅读全文

posted @ 2015-11-25 23:10 kebizhanmushi 阅读(237) 评论(0) 推荐(0) 编辑

如何上传,下载?

摘要: 1,首先得获取上传的文件myfileFileName的路径,为了方便,给他设置一个虚拟路径,String path="ups/"+myfileFileName;//虚拟路径然后获取物理路径,把文件写入到物理路径具体如下: 阅读全文

posted @ 2015-11-25 19:59 kebizhanmushi 阅读(189) 评论(0) 推荐(0) 编辑

2015年11月24日

MyEclipse无法启动调试:Cannot connect to VM

摘要: MyEclipse无法启动调试:Cannot connect to VM问题描述:Eclipse普通的Run模式没有问题,Debug模式却启动不了。换了Eclipse,MyEclipse,JDK都不能解决问题。原因分析:使用Eclipse对Java代码进行调试,无论是远程JVM还是本地JVM都会进行... 阅读全文

posted @ 2015-11-24 10:45 kebizhanmushi 阅读(343) 评论(0) 推荐(0) 编辑

2015年11月23日

org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter与org.apache.struts.dispatcher.FilterDispatcher是什么区别?

摘要: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter与org.apache.struts.dispatcher.FilterDispatcher是什么区别?网上收集的,自认为比较好的答案: FilterDispa... 阅读全文

posted @ 2015-11-23 18:45 kebizhanmushi 阅读(158) 评论(0) 推荐(0) 编辑

谁可以说出HashMap和HashSet的相同点和不同点。

摘要: 谁可以说出HashMap和HashSet的相同点和不同点。分享|2011-11-15 20:46ruoshui_t|浏览 20310 次Perl2011-11-15 21:17#知道行家专业创造价值,火热招募中!#提问者采纳Map集合,就是有一对属性值的集合,属性包含key,和value。关键字ke... 阅读全文

posted @ 2015-11-23 11:43 kebizhanmushi 阅读(257) 评论(0) 推荐(0) 编辑

2015年11月22日

struts2验证框架

摘要: 如何做一个工号 用户 密码 验证登录页面?答:1,先画一个login.jsp ,如何画呢?先引入Struts2标签库,利用Struts2标签库画登录页面:如下:2,先进入useractiion,在进入validateLogin方法validate方法,UserAction-validation.xm... 阅读全文

posted @ 2015-11-22 22:41 kebizhanmushi 阅读(140) 评论(0) 推荐(0) 编辑

struts2验证框架1

摘要: simple就是什么模板都不要,xhtml是默认的,带一些struts2提供的模块,例如有可能在你的表单中加入主要是方便界面警告和错误消息处理以及页面验证查看一下struts.properties或org/apache/struts2/default.propertiesstruts.ui.the... 阅读全文

posted @ 2015-11-22 20:11 kebizhanmushi 阅读(110) 评论(0) 推荐(0) 编辑

2015年11月21日

Struts

摘要: 阅读全文

posted @ 2015-11-21 21:43 kebizhanmushi 阅读(90) 评论(0) 推荐(0) 编辑

2015年11月20日

Struts登录

摘要: 阅读全文

posted @ 2015-11-20 20:52 kebizhanmushi 阅读(118) 评论(0) 推荐(0) 编辑

<global-results>

摘要: 全局result(global-results)有很多时候一个可供很多使用,这时可以使用标签来定义全局的l。执行顺序:当一个Action返回的String没有相应的与之对应,Struts2就会查找全局的。 阅读全文

posted @ 2015-11-20 16:35 kebizhanmushi 阅读(139) 评论(0) 推荐(0) 编辑

上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 22 下一页

导航