我有一个jsp的web应用,需要获得使用者的windows登陆用户名,形如 echo %username% 命令获得的用户名.
[code="java"]<%=System.getProperty("user.name")%>[/code]