我創建Java EE應用程序使用此教程:http://prideafrica.blogspot.com/2007/04/simple-authentication-servlet-filter.html認證Servlet過濾器
,但我不知道需要什麼樣的庫。這些行給我的「找不到符號」的錯誤:
User user = UserFacade.findByUsername(username);
UserToken tok = Authentication.authenticateUser(user, username, password);
ServletContext context = filterConfig.getServletContext();
和另一個問題。我需要添加到本教程中的這些文件中?
謝謝。對不起英語不好。
如果教程不好,建議請其他教程。 – tbsasa 2011-02-10 03:48:47