JavaEE
taohj1990_
这个作者很懒,什么都没留下…
展开
-
Spring AOP 获得 HttpServletReuest
ServletRequestAttributes t = (ServletRequestAttributes) RequestContextHolder.currentRequestAttributes(); HttpServletRequest req = t.getRequest();原创 2014-05-25 16:17:12 · 283 阅读 · 0 评论 -
关于EL表达式中requestScope和param区别
今天演示EL表达式的时候发现自己jsp的基础实在是薄弱,在这个很简单的问题上迷惑了很久。 首先在看遇到的问题: 在浏览器地址输入,表示传入一个参数test,值为123 http://localhost:8888/Test/index.jsp?test=123 在index.jsp中尝试使用EL表达式取出,代码如下: body> ${test} bo转载 2014-05-25 16:25:50 · 256 阅读 · 0 评论