会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Akke
即使是条不归路,也要走到不归处。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2015年11月21日
3、Struts2中的参数传值
摘要: 1.注意jsp页面加入标签 如果想使用ActionContext,在jsp页面对应使用进行传参 引入EL表达式
阅读全文
posted @ 2015-11-21 13:03 Akke
阅读(125)
评论(0)
推荐(0)
2015年11月20日
2、Action的多种写法配置
摘要: 1 2 5 6 7 8 10 11 12 13 14 15 16 17 19 input.jsp20 21 23 ...
阅读全文
posted @ 2015-11-20 14:58 Akke
阅读(814)
评论(0)
推荐(0)
1、环境搭建
摘要: 1、在pom.xml导入相应的jar包:struts2-core2、设置web.xml添加struts2的过滤器:1 2 struts23 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecut...
阅读全文
posted @ 2015-11-20 14:51 Akke
阅读(144)
评论(0)
推荐(0)
2015年11月11日
for增强
摘要: public class test { public static void main(String[] args) { int[] array = {1,2,3,4,5}; for(int a:array){ System.out.println(a); ...
阅读全文
posted @ 2015-11-11 22:40 Akke
阅读(102)
评论(0)
推荐(0)
2015年11月10日
eclipse如何修改dynamic web module version
摘要: 一、修改工程属性:右键eclipse的工程,选择属性,再选择Project Facets里面中选择Dynamic Web Module ,将3.0修改为2.5。二、修改配置文件:打开eclipse->window->show view->Navigator,你好找到 .setting文件夹内的org...
阅读全文
posted @ 2015-11-10 21:18 Akke
阅读(183)
评论(0)
推荐(0)
2015年11月9日
关于ApplicationContext的初始化(cite)
摘要: 一、提倡的初始化方法:《1》在独立应用程序中,获取ApplicationContext: AbstractApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml"); contex...
阅读全文
posted @ 2015-11-09 19:35 Akke
阅读(205)
评论(0)
推荐(0)
2015年11月8日
Spring的Annotation
摘要: xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://...
阅读全文
posted @ 2015-11-08 17:21 Akke
阅读(212)
评论(0)
推荐(0)
使用maven 出现ArtifactTransferException:Failure to transfer(转)
摘要: ArtifactTransferException: Failure to transfer org.springframework:spring-aop:jar:3.2.8.RELEASE from http://repo.maven.apache.org/maven2 was cached in...
阅读全文
posted @ 2015-11-08 15:18 Akke
阅读(1462)
评论(0)
推荐(1)
使用Maven创建Web项目后,jsp引入静态文件提示报错。JSP 报错:javax.servlet.ServletException cannot be resolved to a type
摘要: 用maven创建多模块的web工程后,不同于直接创建普通的web工程。1、在普通的web工程创建后,在项目中会有tomcat等服务器的jar包,这时创建JSP文件肯定是没有错的;2、即使是使用maven创建的单模块的web工程,也会自动的在pom文件中加入tomcat等服务器的jar包,这时也能创建...
阅读全文
posted @ 2015-11-08 01:31 Akke
阅读(2441)
评论(0)
推荐(0)
2015年11月6日
2、IO文件列表和内部类
摘要: 1 package Io; 2 3 import java.io.File; 4 import java.io.FilenameFilter; 5 6 public class TestFile3 { 7 public static void main(String[] args) {...
阅读全文
posted @ 2015-11-06 02:36 Akke
阅读(246)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告