1.导入jar包,ssh的jar包一共是38个,此时还需要多加一个包,就是struts的注解插件jar。2.在web.xml文件中配置struts
filter 和spring 的listener。代码如下: contextConfigLocation classpath:application.....
分类:
其他好文 时间:
2014-05-20 02:14:05
阅读次数:
260
线程安全问题的由来
在传统的Web开发中,我们处理Http请求最常用的方式是通过实现Servlet对象来进行Http请求的响应.Servlet是J2EE的重要标准之一,规定了Java如何响应Http请求的规范.通过HttpServletRequest和HttpServletResponse对象,我....
分类:
其他好文 时间:
2014-05-20 01:41:27
阅读次数:
425
Thursday, December 5, 2013ASP.NET保存session
state(会话状态)有三种模式:In-Process, State Server, SQL Server。SQL Server模式的优点: 即使web
application重启,状态数据也会被保存 多个web服...
分类:
数据库 时间:
2014-05-19 23:17:09
阅读次数:
426
Overview of How Filters WorkThis section
provides an overview of the following topics:How the Servlet Container Invokes
FiltersTypical Filter ActionsH...
分类:
其他好文 时间:
2014-05-19 23:10:22
阅读次数:
418
If we define Servlet filters in web.xml, then
the order of execution of the filters will be the same as the order in which
they are defined in the web...
分类:
其他好文 时间:
2014-05-19 23:07:40
阅读次数:
352
HttpContext.Current.Application:整个应用程序都可以共享的,当然存储的时候应该加锁的。HttpRuntime.Cache与HttpContext.Current.Cache:二者其实是指向的同一对象,区别在于HttpContext与HttpRuntime的实现上。Htt...
分类:
其他好文 时间:
2014-05-19 22:16:56
阅读次数:
298
首先感谢熔岩的文章:http://lavasoft.blog.51cto.com/62575/2279881.Eclipse安装上tomcat插件,http://www.eclipsetotale.com/tomcatPlugin.html下载后解压者eclipse的plugin目录2.建立一个We...
分类:
Web程序 时间:
2014-05-19 11:30:41
阅读次数:
348
1.生成modelModelPath设置为:application.modules.[moduleName].models2.生成CURDModelClass设置为:application.modules.[moduleName].models.[modelName]Controller
ID设置为...
分类:
Web程序 时间:
2014-05-19 09:49:19
阅读次数:
301
You need to override onSaveInstanceState(Bundle
savedInstanceState) and write the application state values you want to change to
the Bundle parameter ...
分类:
移动开发 时间:
2014-05-17 14:49:13
阅读次数:
292
相关学习资料http://my.oschina.net/chape/blog/170247http://docs.oracle.com/cd/E13222_01/wls/docs81/webapp/web_xml.htmlhttp://blog.csdn.net/liaoxiaohua1981/ar...
分类:
Web程序 时间:
2014-05-17 14:21:45
阅读次数:
551