📄 dbprop.java
字号:
package connect;import javax.servlet.ServletException;import javax.servlet.http.HttpServlet;public class DBProp extends HttpServlet { public DBProp() { super(); } /** * Destruction of the servlet. <br> * // */ public void destroy() { super.destroy(); // Just puts "destroy" string in log // Put your code here } /** * Initialization of the servlet. <br> * * @throws ServletException if an error occurs */ public void init() throws ServletException { // Put your code here try { Class.forName("connect.DBConst").newInstance(); } catch (Exception e) { e.printStackTrace(); } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -