⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 loginservice.java

📁 只做是单选题!数据库表有三张:EUser,EItem,Score
💻 JAVA
字号:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package com.exam.model;import java.sql.SQLException;import javax.ejb.ObjectNotFoundException;import javax.servlet.http.HttpServlet;/** * * @author fyadmin */public class LoginService extends HttpServlet {    private UserDAO leagueDataAccess;    /**     * This constructor creates a League Service object.     */    public LoginService() {        leagueDataAccess = new UserDAO();    }    /**     * This method returns a complete set of leagues.     */    public User getRetriver(String username, String password) throws SQLException, ObjectNotFoundException {        return leagueDataAccess.retrieve(username, password);    }    /**     * This method finds the specified League object in the database.     */}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -