84669 人學習
152542 人學習
20005 人學習
5487 人學習
7821 人學習
359900 人學習
3350 人學習
180660 人學習
48569 人學習
18603 人學習
40936 人學習
1549 人學習
1183 人學習
32909 人學習
欢迎选择我的课程,让我们一起见证您的进步~~
el表达式的搜索顺序是,page, request, session, contexthttp://stackoverflow.com/questions/875024/how-does-el-search-for-an-attribute
springmvc里面有多种方式可以实现页面传参,比如modelAndVidew对象,modelMap对象等,网上这类的文章或者教程很多,不妨百度一下,以下这篇文章http://blog.csdn.net/wp1603710463/article/details/48248871估计能满足题主目前的需求了。
我感觉是,SpringMVC可能会连方法参数也自动在页面中访问得到。
检查一下是否有 session 级别的 article.id
article.id
可以使用分别使用如下的 el 表达式试一下:
${ session.article.id } 或者 ${ request.article.id }
${ session.article.id }
${ request.article.id }
el表达式的搜索顺序是,page, request, session, context
http://stackoverflow.com/questions/875024/how-does-el-search-for-an-attribute
springmvc里面有多种方式可以实现页面传参,比如modelAndVidew对象,modelMap对象等,网上这类的文章或者教程很多,不妨百度一下,以下这篇文章http://blog.csdn.net/wp1603710463/article/details/48248871估计能满足题主目前的需求了。
我感觉是,SpringMVC可能会连方法参数也自动在页面中访问得到。
检查一下是否有 session 级别的
article.id
可以使用分别使用如下的 el 表达式试一下:
${ session.article.id }
或者${ request.article.id }