![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
文章平均质量分 73
cooljia
这个作者很懒,什么都没留下…
展开
-
Context Path + servlet path + path info = request uri
|-- Context Path --|-- Servlet Path -|--Path Info--|http://www.myserver.com /mywebapp /helloServlet /hello |-------- Request URI ---原创 2004-11-19 18:38:00 · 20052 阅读 · 3 评论 -
HttpSessionBindingListener in practice
HttpSessionBindingListener 是一个接口,继承这个接口的object在我们调用session的setAttribute()方法时将会由容易调用其中该object的方法valueBound()import javax.servlet.*;import javax.servlet.http.*;public class UseridWrapper implements Http原创 2004-11-22 16:45:00 · 1290 阅读 · 0 评论 -
在设计bs模式的时候,必要的一个listener
response.setHeader("Cache-Control","no-cache"); //Forces caches to obtain a new copy of the page from the origin serverresponse.setHeader("Cache-Control","no-store"); //Directs caches not to store the原创 2004-11-22 11:03:00 · 1720 阅读 · 0 评论 -
应用服务器的Session timeout
<br />在JEE的web应用里,设置session超时有两种办法:<br />1. 在web.xml中设置<br /> <session-timeout>15</session-timeout> <br /> 以上设置的是session超时的时间是15分钟<br />2. 在jsp/servlet中设置<br /> session.setMaxInactiveInterval(5)<br /> 以上设置的是原创 2010-07-12 11:06:00 · 6406 阅读 · 0 评论 -
What does Class.forname method do?
A call to Class.forName("X") causes the class named X to be dynamically loaded (at runtime). A call to forName("X") causes the class named X to be initialized (i.e., JVM executes all its static block after class loading). Class.forName("X") returns the Cla转载 2010-07-11 15:02:00 · 721 阅读 · 0 评论 -
SaaS软件即服务模型研究
摘要:从应用架构师的观点来看,一般的SaaS结构应该至少满足以下三个特点中的一个或多个它们就是:可扩展性,可配置性,多用户高效性。<br />SaaS是Software-as-a-service(软件即服务)的简称,大多数的专家在软件即服务区别于传统的套装软件和简单的Web站点的一些基本特点上达成一致。也就是说,软件即服务必须有以下特点:“软件部署为托管服务,通过互联网存取”。<br />一、SaaS分类与发展前景<br />通常软件即服务分为两类: (1)面向企业的服务,向各种规模的企业和组织提供的服务。转载 2010-08-25 13:11:00 · 1057 阅读 · 0 评论