there is any way in Struts 2 that works like a ServletContextListener? The reason why I'm trying to do this is I do have some values that would be fetched from the DB and I want these values to available in my application home page when ever home page is laoded
i solved my problem create index file in webContent folder and set index and create a action in struts.xml with name index.