我想到在jsp頁面中用<%=request.getAttribute("typeid") %> 具體代碼如下:
<html:link action="/background/expteach/ExpteachManageAction.do?action=expteach&&typeid=<%=request.getAttribute('typeid') %>" target="rightFrame">返回 </html:link>
但是卻不行,<%=request.getAttribute("typeid") %>取不到值。
于是 我就上網(wǎng)查資料找到了用EL表達(dá)式 具體代碼如下:
但是卻不行,<%=request.getAttribute("typeid") %>取不到值。
于是 我就上網(wǎng)查資料找到了用EL表達(dá)式 具體代碼如下:
<%@ page isELIgnored="false" %>
<html:link action="/background/expteach/ExpteachManageAction.do?action=expteach&&typeid=${typeid}" target="rightFrame">返回 </html:link>
成功?。?!