mirror of
https://github.com/ZSCNetSupportDept/WechatTicketSystem.git
synced 2025-10-30 01:46:18 +08:00
Use Hibernate framework to operate pojo instance, bye bye SQL strings :)
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
package love.sola.netsupport;
|
||||
|
||||
import love.sola.netsupport.config.Settings;
|
||||
|
||||
import javax.servlet.ServletException;
|
||||
import javax.servlet.annotation.WebServlet;
|
||||
import javax.servlet.http.HttpServlet;
|
||||
@@ -16,10 +14,9 @@ import java.io.PrintWriter;
|
||||
* Don't modify this source without my agreement
|
||||
* ***********************************************
|
||||
*/
|
||||
@WebServlet(name = "Index",urlPatterns = "/",loadOnStartup = 1)
|
||||
@WebServlet(name = "Index",urlPatterns = "/index",loadOnStartup = 1)
|
||||
public class Index extends HttpServlet {
|
||||
|
||||
|
||||
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
|
||||
doGet(request, response);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user