首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

如何样在jsp页面的<% %>中得到后台Spring放入map中的值

2012-02-14 
怎么样在jsp页面的% %中得到后台Spring放入map中的值?怎么样在jsp页面的 %% 中得到后台Spring放入map

怎么样在jsp页面的<% %>中得到后台Spring放入map中的值?
怎么样在jsp页面的 <%   %> 中得到后台Spring放入map中的值?Map <Object,   Object>   model   =   super.getModel();
                  model.put( "key ", "aaaaa ");


在页面可以 <input   type= "text "   value= " <c:out   value= "${key} "   /> "   /> 得到aaaaa!
    但我现在想在页面的 <%     %> 中得到  要怎么得!!???????????

[解决办法]
后台吧map放在request或者session里面,jsp里面再获取就是了
[解决办法]
同意楼上的
[解决办法]
WebApplicationContext appContext ...
[解决办法]
<input type= "text " value= "${mapForm.mapAll.key} " />

热点排行