spring security+freemarker获取登陆用户的信息 目标页面之间获取 ${Session.SPRING_SECURITY_CONTEXT.authentication.principal.username} 其他参考 Spring Security判断用户是否已经登录 <c:if test="${pageContext.request.userPrincipal.name != null}"> <label> Hi ${pageContext
package DAO; public class books { private int bid; private String bname; private int booksl; private double price; public int getBid() { return bid; } public void setBid(int bid) { this.bid = bid; } public String getBname() { return bname; } public v
Question 1.HTTP Status 500 - Unable to compile class for JSP:'***' cannot be resolved to a type 原因分析:cannot be resolved to a type 基本上是该类没有被识别出来,编译的时候,编译路径下没有该类对应的库文件, 解决方法: 1.拷贝类对应的jar到tomcat lib目录下:C:\Program Files\Java\apache-tomcat-8.0.9\lib 2.关闭t