首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

Jetty设立seiion过期时间

2012-08-16 
Jetty设置seiion过期时间在E:\.m2\repository\com\cnpc\pms\pms\1.0.2-SNAPSHOT的pms-1.0.2-SNAPSHOT.pom

Jetty设置seiion过期时间

在E:\.m2\repository\com\cnpc\pms\pms\1.0.2-SNAPSHOT的pms-1.0.2-SNAPSHOT.pom文件里面定义的session过期时间:

<plugin>
?????<groupId>org.mortbay.jetty</groupId>
?????<artifactId>maven-jetty-plugin</artifactId>
?????<version>6.1.22</version>
?????<configuration>
??????<connectors>
???????<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
????????<port>8080</port>
????????<maxIdleTime>30000</maxIdleTime>
???????</connector>
??????</connectors>
??????<scanIntervalSeconds>0</scanIntervalSeconds>
??????<stopPort>9090</stopPort>
??????<stopKey>foo</stopKey>
?????</configuration>
????</plugin>

热点排行