I have extended
struts Actionservlet to myservlet class.
myservlet class init method two times called.i don't know why.
Please update your comments.
init method code
public void init() throws ServletException {
try {
/** Get the ServletContext * */
ServletContext servletContext = this.getServletContext();
/** Initialize the logger * */
loadInitLogging();
/** Initialize the PropertyFileReader * */
loadPropertyFileReader(servletContext);
/** Logs the
JDBC information * */
displayJDBCInfo();
/** Loads the Master Table values * */
loadMasterTableValues();
/** This method tiggers 12 AM of everyday
* and reloads the master table values
*/
//TimerJob.invokeTimer();
} catch (Exception e) {
LOG.error("Unexcepted error occurred", e);
LOG.error(e.getMessage());
}
super.init();
}
[ July 10, 2007: Message edited by: prabakaran perumal ]