JSF initialize application-scope bean when context initialized

前端 未结 3 1857
忘掉有多难
忘掉有多难 2020-12-15 06:55

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 i

3条回答
  •  既然无缘
    2020-12-15 07:39

    Using listeners or load-on-startup, try this: http://www.thoughtsabout.net/blog/archives/000033.html

提交回复
热议问题