这个是登录后的首页
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page %>
<%@page import="org.acegisecurity.ui.webapp.AuthenticationProcessingFilter"%>
<html>
<head>
<title>Acegi测试</title>
</head>
<body bgcolor="6683ff">
欢迎你 <%= session.getAttribute(AuthenticationProcessingFilter.ACEGI_SECURITY_LAST_USERNAME_KEY) %>
<table>
<tr>
<td>
<a href="div.html">测试</a><br/>
<a href="user.do?method=logout">退出</a>
</td>
</tr>
</table>
</body>
</html>
这个是我做的小例子 但是一连数据库就无法登陆 也没有报错