招商加盟网站开发搜索引擎推广的基本方法
一、@PostConstruct:
被@PostConstruct修饰的方法会在服务器加载Servlet的时候运行,并且只会被服务器调用一次,类似于servlet的inti()方法。被@PostConstruct修饰的方法会在构造函数之后,init()方法之前运行。
一、@PostConstruct:
被@PostConstruct修饰的方法会在服务器加载Servlet的时候运行,并且只会被服务器调用一次,类似于servlet的inti()方法。被@PostConstruct修饰的方法会在构造函数之后,init()方法之前运行。