日期:2014-05-18  浏览次数:20591 次

STRUTS超级连接问题
<%   session.setAttribute( "usermodel ",vo);   %>
<html:link   page= "/lookone.do "> 这里查看公司本地数据 </html:link> <br>
<html:link   page= "/looktwo.do "> 这里查看公司对比数据 </html:link> <br>
将一个vo传入
AQ12GSVO   vo   =   (AQ12GSVO)request.getSession().getAttribute( "usermodel ");
在action中这样取得
但是要是想在 <html:link   page= "/lookone.do "> 这里查看公司本地数据 </html:link> <br>

<html:link   page= "/lookone.do?xxx=xxx "> 这样传参数   传VO对象我该怎么写  
谢谢

------解决方案--------------------
<%String bane= session.setAttribute( "usermodel ",vo); %>
<html:link page= "/lookone.do?name= <%bane%> "> 这里查看公司本地数据 </html:link> <br>