上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页

2016年9月8日

struts2 添加请求后缀的3种方式

摘要: 第一种方式在struts.xml文件中添加 <constant name="struts.action.extension" value=""></constant> 第二种方式在struts.properties中添加 第三种在web.xml的过滤器中添加 <!-- 定义Filter --> <f 阅读全文

posted @ 2016-09-08 15:28 赵磊磊 阅读(1630) 评论(0) 推荐(0)

《struts2》:指定多个配置文件和默认Action

摘要: 转载:http://m.blog.csdn.net/article/details?id=51212968 阅读全文

posted @ 2016-09-08 14:12 赵磊磊 阅读(172) 评论(0) 推荐(0)

struts2 利用通配符方式解决action太多的问题

摘要: <!-- 创建包default,继承struts-default --> <package name="default" extends="struts-default"> <action name="*_*" class="com.action.{1}Action" method={2}> <re 阅读全文

posted @ 2016-09-08 13:53 赵磊磊 阅读(613) 评论(0) 推荐(0)

2016年9月7日

struts2 type="redirectAction"重定向 与动态调用方法

摘要: <?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache 阅读全文

posted @ 2016-09-07 17:13 赵磊磊 阅读(9830) 评论(0) 推荐(0)

struts 中自定义action访问方法

摘要: struts中action类继承了ActionSupport 默认实现了execute()方法 struts.xml配置文件中 然后可以配置如下映射: <package name ="ActionDemo" extends ="struts-default"> <action name ="Hell 阅读全文

posted @ 2016-09-07 10:30 赵磊磊 阅读(1133) 评论(0) 推荐(0)

2016年9月5日

Unable to update index for central

摘要: Unable to update index for central http://repo1.maven.org/maven2/ 就是这句,myeclipse启动后控制台输出这句话:解决办法:1.在myeclipse3.4(我用的这个版本)里面Window => Preferences => My 阅读全文

posted @ 2016-09-05 18:37 赵磊磊 阅读(1391) 评论(0) 推荐(0)

ssh框架搭建

摘要: http://blog.csdn.net/zzq900503/article/details/38036557 阅读全文

posted @ 2016-09-05 16:04 赵磊磊 阅读(107) 评论(0) 推荐(0)

2016年8月30日

Jquery实现选项卡效果

摘要: <script type="text/javascript"> $(document).ready(function(){ $('.ct:gt(0)').hide(); gt() //匹配所有大于给定索引值的元素 var hdw = $('.box ul li'); //li集合 hdw.hover 阅读全文

posted @ 2016-08-30 16:05 赵磊磊 阅读(331) 评论(0) 推荐(0)

Jquery实现弹出层效果

摘要: <script type="text/javascript"> $(document).ready(function(){ $('.one').click(function(){ //点击a标签 $('.box').show(); 弹出层显示 }); $('span').click(function 阅读全文

posted @ 2016-08-30 14:56 赵磊磊 阅读(327) 评论(0) 推荐(0)

jquery $(document).ready() 与window.onload的区别

摘要: 1 window.onload必须等到页面内包括图片的所有元素加载完毕后才能执行。 $(document).ready()是DOM结构绘制完毕后就执行,不必等到加载完毕。 2 window.onload不能同时编写多个,如果有多个window.onload方法,只会执行一个 $(document). 阅读全文

posted @ 2016-08-30 14:30 赵磊磊 阅读(155) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页

导航