多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 使用redis存储session [tomcat-redis-session-manager](https://github.com/jcoleman/tomcat-redis-session-manager) ## [](https://github.com/someus/another-tutorial-about-java-web/blob/master/supplement.md#tomcat与http-11)Tomcat与HTTP 1.1 [Why tomcat reply HTTP 1.1 respose with an HTTP 1.0 request?](http://stackoverflow.com/questions/19461312/why-tomcat-reply-http-1-1-respose-with-an-http-1-0-request) ## [](https://github.com/someus/another-tutorial-about-java-web/blob/master/supplement.md#视图技术)视图技术 [View technologies](http://docs.spring.io/spring/docs/3.0.x/spring-framework-reference/html/view.html) ## [](https://github.com/someus/another-tutorial-about-java-web/blob/master/supplement.md#jstl)JSTL [JSP - Standard Tag Library (JSTL) Tutorial](http://www.tutorialspoint.com/jsp/jsp_standard_tag_library.htm) ## [](https://github.com/someus/another-tutorial-about-java-web/blob/master/supplement.md#spring-websocket)Spring WebSocket [Using Spring 4 WebSocket, sockJS and Stomp support to implement two way server client communication](https://raymondhlee.wordpress.com/2014/01/19/using-spring-4-websocket-sockjs-and-stomp-support-to-implement-two-way-server-client-communication/) [Spring WebSocket Support](http://docs.spring.io/spring/docs/current/spring-framework-reference/html/websocket.html) [Using WebSocket to build an interactive web application](https://spring.io/guides/gs/messaging-stomp-websocket/) ## [](https://github.com/someus/another-tutorial-about-java-web/blob/master/supplement.md#jetty-websocket)Jetty WebSocket [Jetty WebSocket Server API](http://www.eclipse.org/jetty/documentation/current/jetty-websocket-server-api.html) [Jetty 9 – Updated WebSocket API](https://webtide.com/jetty-9-updated-websocket-api/) ## [](https://github.com/someus/another-tutorial-about-java-web/blob/master/supplement.md#servletspring异步)Servlet、Spring异步 个人理解: 这里的异步其实就是servlet把请求交给一个线程池去处理,然后servlet线程结束。线程池慢慢地去处理这些任务。 如此,可以及时地释放servlet线程,防止线程数量太多造成性能下降。 [How to use Asynchronous Servlets to improve performance](https://plumbr.eu/blog/java/how-to-use-asynchronous-servlets-to-improve-performance) [Asynchronous processing support in Servlet 3.0](http://www.javaworld.com/article/2077995/java-concurrency/asynchronous-processing-support-in-servlet-3-0.html) [Servlet 3.0 实战:异步 Servlet 与 Comet 风格应用程序](http://www.ibm.com/developerworks/cn/java/j-lo-comet/index.html) [Async Servlet Feature of Servlet 3](http://www.javacodegeeks.com/2013/08/async-servlet-feature-of-servlet-3.html) [使用spring的@Async异步执行方法](http://www.cnblogs.com/yangzhilong/p/3725071.html) [spring mvc对异步请求的处理](http://www.cnblogs.com/yangzhilong/p/3725128.html) ## [](https://github.com/someus/another-tutorial-about-java-web/blob/master/supplement.md#安全)安全 [jstl转义显示html标签](http://blog.csdn.net/stone5751/article/details/6579728) [XSS prevention in JSP/Servlet web application](http://stackoverflow.com/questions/2658922/xss-prevention-in-jsp-servlet-web-application) [Simple Cross Site Scripting (XSS) Servlet Filter](http://greatwebguy.com/programming/java/simple-cross-site-scripting-xss-servlet-filter/) [Spring MVC防御CSRF、XSS和SQL注入攻击](http://www.cnblogs.com/Mainz/archive/2012/11/01/2749874.html) [Spring Security 3.2.0.RC1 Highlights: CSRF Protection](http://spring.io/blog/2013/08/21/spring-security-3-2-0-rc1-highlights-csrf-protection/) ## [](https://github.com/someus/another-tutorial-about-java-web/blob/master/supplement.md#缓存ehcache)缓存Ehcache [Java Web Application: How to implement caching techniques?](http://stackoverflow.com/questions/699996/java-web-application-how-to-implement-caching-techniques) [Ehcache文档](http://www.ehcache.org/documentation/) [注释驱动的 Spring cache 缓存介绍](http://www.ibm.com/developerworks/cn/opensource/os-cn-spring-cache/) ## [](https://github.com/someus/another-tutorial-about-java-web/blob/master/supplement.md#war格式)war格式 [How to deploy a war file in Tomcat 7](http://stackoverflow.com/questions/5109112/how-to-deploy-a-war-file-in-tomcat-7) [如何将netbeans生成的项目文件打包发布到其他的Tomcat服务器上?](http://asdcm2008.blog.163.com/blog/static/17412758520119249517732/) [Deploying on tomcat](http://portofino.manydesigns.com/en/docs/portofino3/3_1_x/installation-guide/deploying-on-tomcat)