jsp
<html:link
page="/action.do?operate=query&action=firstPage" paramId="namekey" paramName="namevalue" >首页</html:link>
paramId:action中读取参数名
paramName:action中读取参数值
action
String namevalue= request.getParameter("namekey");
request.setAttribute("namevalue",namevalue);
<html:link
page="/action.do?operate=query&action=firstPage" paramId="namekey" paramName="namevalue" >首页</html:link>
paramId:action中读取参数名
paramName:action中读取参数值
action
String namevalue= request.getParameter("namekey");
request.setAttribute("namevalue",namevalue);
本文详细解析了jsp中html:link元素的使用方式,包括如何在action中读取参数名和参数值,并通过实例展示了如何在页面中实现跳转到指定的URL。
866

被折叠的 条评论
为什么被折叠?



