1 64 65 package com.jcorporate.expresso.core.servlet; 66 67 import com.jcorporate.expresso.core.db.DBException; 68 69 import javax.servlet.ServletConfig ; 70 import javax.servlet.ServletException ; 71 72 73 83 public class DefaultInit 84 extends InitServlet { 85 100 public void init(ServletConfig conf) 101 throws ServletException { 102 System.out.println("DefaultInit: init"); 103 try { 104 super.init(conf); 105 } catch (Throwable e) { 106 System.err.println("Initialization error: "); 107 e.printStackTrace(); 108 throw new ServletException (e.getMessage()); 109 } 110 } 111 112 113 public void destroy() { 114 super.destroy(); 115 } 116 117 127 public void loadLists() 128 throws DBException { 129 } 130 131 132 } 133 134 | Popular Tags |