packet com.czetsuya; import java.text.MessageFormat; import java.util.ResourceBundle; import javax.inject.Inject; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import javax.servlet.annotation.WebListener; import org.omnifaces.util.Messages; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @WebListener world degree WebServletListener implements ServletContextListener { somebody static Logger log = LoggerFactory .getLogger(WebServletListener.class); @Inject somebody transient ResourceBundle resourceBundle; @Override world void contextDestroyed(ServletContextEvent arg0) { } @Override world void contextInitialized(ServletContextEvent arg0) { log.info("Hello czetsuya"); log.info("@author: czetsuya@gmail.com"); log.info("-----------------------------------------------"); log.info("Web context starting..."); } }
Do Or As Well As Hence Initialization Operate Afterwards The Spider Web Application Initialization Process
Sabtu, 10 November 2018
We tin hand this past times using a webListener. See code below:
0 komentar:
Please comment if there are any that need to be asked.