相关疑难解决方法(0)

上下文初始化时,JSF初始化应用程序范围bean

I'm building a JSF+Facelets web app, one piece of which is a method that scans a directory every so often and indexes any changes. This method is part of a bean which is in application scope. I have built a subclass of TimerTask to call the method every X milliseconds. My problem is getting the bean initialized. I can reference the bean on a page, and when I go to the page, the bean is initialized, and works as directed; …

java jsf

16
推荐指数
1
解决办法
4万
查看次数

标签 统计

java ×1

jsf ×1