39

javaweb中服务器启动所执行的程序-奔跑吧爽爽的博客

 6 years ago
source link: http://blog.51cto.com/13579086/2083119
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
1.过滤器init(FilterConfig),只有web.xml中配置过滤器,服务器启动时将执行,经典案例struts2框架2servletinit(servletConfig),web.xml配置<servlet><load-on-startup>,服务器启动时就执行,servlet默认初始化在第一次访问的时候,经典案例:springmvcs3.ServletConfi

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK