Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

load-on-startup

Status
Not open for further replies.

tmmet

IS-IT--Management
Jul 25, 2005
7
0
0
US
Hi,
I have the below in my web.xml.Can anyone say me whether the struts log4j properties file will be loaded first before the properties specified below?

<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<load-on-startup>2</load-on-startup>
</init-param>
//Other params will be included here,
Thanks in advance,
 
I believe the log4j.properties file isn't loaded until the first time you use a Category or Logger within your application.

The <load-on-startup> parameter will be loaded right away by your servlet container.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top