码迷,mamicode.com
首页 >  
搜索关键字:struts2 自定义拦截器    ( 6860个结果
使用struts2的标签s:if获取url中的参数值,并与字符串常量进行比较
大家都知道,jsp中最好不要写java脚本,稍微复杂一点的逻辑都会让代码十分难看,对于维护来说简直是噩梦。但是我们又不可能完全不在jsp中写java脚本,像这种方式,很方便而且也不会让代码很难看。当jsp中需要有复杂的逻辑判断或者循环的时候,最好使用标签库来提高代码的可维护性,比如标准的JSTL库,还有很常用的struts2标签库。 比如有一个url http://127.0.0.1:8080/...
分类:其他好文   时间:2014-07-15 22:47:10    阅读次数:211
Struts2 整合jQuery实现Ajax功能(1)
技术领域很多东西流行,自然有流行的道理, jquery ajax...
分类:Web程序   时间:2014-07-15 12:43:39    阅读次数:319
struts2+jquery 实现ajax登陆
一、新建一个web项目:test,配置好struts2的环境(详细配置见:http://www.cnblogs.com/wuweidu/p/3841297.html) 导入Jquery的js文件到项目二、在com.action包下,新建一个loginAction.javaloginAction......
分类:Web程序   时间:2014-07-15 08:18:01    阅读次数:250
struts2.1.6出现at com.opensymphony.xwork2.util.FileManager$FileRevision.needsReloading
struts2中的配置文件中只要添加以下配置,那么以后修改配置文件不用重启tomcat的方法。于是自己手动试了试,没想到这一试竟然试出问题来要添加的代码:view plaincopy to clipboardprint?Xhtml代码struts.devMode也就是struts的开发模式,默认值为...
分类:其他好文   时间:2014-07-14 22:17:37    阅读次数:292
Error creating bean with name 'com.you.user.dao.StudentDaoTest': Injection of autowired dependencies
1、错误描述 七月 13, 2014 6:37:41 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions 信息: Loading XML bean definitions from class path resource [applicationContext.xml] 七月 1...
分类:其他好文   时间:2014-07-14 13:46:00    阅读次数:651
Caused by: org.springframework.beans.factory.BeanCreationException
1、错误原因 2014-7-13 17:36:57 org.apache.jasper.compiler.TldLocationsCache tldScanJar 信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete...
分类:编程语言   时间:2014-07-14 13:44:07    阅读次数:325
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException
1、错误描述 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2014-7-13 18:02:58 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded...
分类:编程语言   时间:2014-07-14 13:27:33    阅读次数:314
java.lang.IllegalStateException: Failed to load ApplicationContext
1、错误描述 七月 13, 2014 6:34:41 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions 信息: Loading XML bean definitions from class path resource [applicationContext.xml] 七月 1...
分类:移动开发   时间:2014-07-14 13:09:26    阅读次数:272
Struts2学习笔记1
一.下载struts2.0.1http://struts.apache.org/downloads.html,下载struts-2.0.1-all.zip,这个压缩包中包括了开发struts2所需的struts2-core.jar核心包以及其他struts2所依赖的JAR文件,另外另一些struts...
分类:其他好文   时间:2014-07-13 19:49:57    阅读次数:217
org.apache.jasper.JasperException
1、错误描述 2014-7-13 17:20:50 org.apache.catalina.core.StandardWrapperValve invoke 严重: Servlet.service() for servlet [jsp] in context with path [/FirstSSH] threw exception [/pages/student.jsp (line: 3, c...
分类:Web程序   时间:2014-07-13 18:12:48    阅读次数:251
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!