struts2 bean属性在jsp页面直接访问问题?

struts2 bean属性在jsp页面直接访问问题?
从页面表单(userName)传入后台bean,再到jsp页面时为什么可以用 requestscope.userName得到值。
想了很久依然不明白 ,望各位大神解惑。。。

http://bbs.csdn.net/topics/370051203

1:从后台传到前台是否用的是request.setAttribut("userName","value")
2:
浏览器页面requestScope.userName EL表达方式 相当于 request.getAttribute("userName")

struts有三种传值的方式
第一种:所有属性都在action中写出。

第二种:高级输入,在action中写private User user;然后写上get set方法,并且在JSP页面中用user.username才能够获得。

第三种:http://book.51cto.com/art/200806/77999.htm

Struts 2中的OGNL:http://www.blogjava.net/max/archive/2007/04/28/114417.html(极品好文章)

http://developer.51cto.com/art/201203/322509.htm

http://struts2.group.iteye.com/group/wiki/1356-how-to-use-ognl-in-struts2